@@ -71,54 +71,54 @@ public static void init(boolean shutdownWhenServerError, @NotNull APIJSONCreator
7171 APIJSONController .APIJSON_CREATOR = creator ;
7272
7373
74- System .out .println ("\n \n \n 开始初始化:权限校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
74+ System .out .println ("\n \n \n 开始初始化: 权限校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
7575 try {
76- APIJSONVerifier .init (shutdownWhenServerError , creator );
76+ APIJSONVerifier .initAccess (shutdownWhenServerError , creator );
7777 }
7878 catch (Exception e ) {
7979 e .printStackTrace ();
8080 }
81- System .out .println ("\n 完成初始化:权限校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
81+ System .out .println ("\n 完成初始化: 权限校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
8282
8383
8484
85- System .out .println ("\n \n \n 开始初始化:远程函数配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
85+ System .out .println ("\n \n \n 开始初始化: 远程函数配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
8686 try {
8787 APIJSONFunctionParser .init (shutdownWhenServerError , creator );
8888 }
8989 catch (Exception e ) {
9090 e .printStackTrace ();
9191 }
92- System .out .println ("\n 完成初始化:远程函数配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
92+ System .out .println ("\n 完成初始化: 远程函数配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
9393
94- System .out .println ("开始测试:远程函数 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
94+ System .out .println ("开始测试: 远程函数 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
9595 try {
9696 APIJSONFunctionParser .test ();
9797 }
9898 catch (Exception e ) {
9999 e .printStackTrace ();
100100 }
101- System .out .println ("\n 完成测试:远程函数 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
101+ System .out .println ("\n 完成测试: 远程函数 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
102102
103103
104104
105- System .out .println ("\n \n \n 开始初始化:请求校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
105+ System .out .println ("\n \n \n 开始初始化: 请求结构校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
106106 try {
107- StructureUtil . init (shutdownWhenServerError , creator );
107+ APIJSONVerifier . initRequest (shutdownWhenServerError , creator );
108108 }
109109 catch (Exception e ) {
110110 e .printStackTrace ();
111111 }
112- System .out .println ("\n 完成初始化:请求校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
112+ System .out .println ("\n 完成初始化: 请求结构校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
113113
114- System .out .println ("\n \n \n 开始测试:请求校验 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
114+ System .out .println ("\n \n \n 开始测试: Request 和 Response 的数据结构校验 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
115115 try {
116- StructureUtil . test ();
116+ APIJSONVerifier . testStructure ();
117117 }
118118 catch (Exception e ) {
119119 e .printStackTrace ();
120120 }
121- System .out .println ("\n 完成测试:请求校验 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
121+ System .out .println ("\n 完成测试: Request 和 Response 的数据结构校验 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
122122
123123
124124
0 commit comments