@@ -96,7 +96,7 @@ public String parse(JSONObject request) {
9696 * @return parseResponse(requestObject);
9797 */
9898 public JSONObject parseResponse (String request ) {
99- System .out .println ("\n \n \n \n " + TAG + requestMethod . name () + "/parseResponse request = \n " + request );
99+ System .out .println ("\n \n \n \n " + TAG + requestMethod + "/parseResponse request = \n " + request );
100100 try {
101101 requestObject = getCorrectRequest (requestMethod , parseRequest (request , requestMethod ));
102102 } catch (Exception e ) {
@@ -135,6 +135,9 @@ public JSONObject parseResponse(JSONObject request) {
135135 : extendResult (requestObject , 206 , "未完成全部请求:\n " + error .getMessage ());
136136 // }
137137
138+ System .out .println ("\n \n \n \n <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n "
139+ + TAG + requestMethod + "/parseResponse request = \n " + JSON .toJSONString (request ));
140+
138141 return requestObject ;
139142 }
140143
@@ -151,7 +154,7 @@ public static JSONObject parseRequest(String request, RequestMethod method) {
151154 if (method == null ) {
152155 method = RequestMethod .GET ;
153156 }
154- System .out .println ("\n \n \n \n <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " + TAG + method . name ()
157+ System .out .println ("\n \n \n \n <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " + TAG + method
155158 + "/parseResponse request = \n " + request );
156159 return JSON .parseObject (request );
157160 }
@@ -961,7 +964,7 @@ public static String getRealKey(RequestMethod method, String originKey, boolean
961964 }
962965
963966 if (isWord (key .startsWith ("@" ) ? key .substring (1 ) : key ) == false ) {
964- throw new IllegalArgumentException (TAG + " getRealKey: 字符 " + originKey + " 不合法!" );
967+ throw new IllegalArgumentException (TAG + "/" + method + " getRealKey: 字符 " + originKey + " 不合法!" );
965968 }
966969
967970 return key ;
0 commit comments