code: public Response executeLocal() throws Exception {
  
          try {
              conn = this.generateConn();
              if (useSSL) {
                  InputStream cerIn = null;
                  if (!StringUtil.isEmpty(cerBase64)) {
                      cerIn = new ByteArrayInputStream(Base64.getDecoder().decode(cerBase64));
                  }
                  HttpsURLConnection httpsConn = ((HttpsURLConnection) conn);
                  httpsConn.setSSLSocketFactory(Https.getSslSocketFactory(cerIn, storePass));
                  httpsConn.setHostnameVerifier(Https.UnSafeHostnameVerifier);
              }
  
              // 请求方式
              conn.setRequestMethod(method);
              // 链接超时时间
              conn.setConnectTimeout(5000);
              //响应超时时间
              conn.setReadTimeout(XianConfig.getIntValue("httpclient.read_timeout", 1000 * 10));
              conn.setDoOutput(true);
              conn.setDoInput(true);
              conn.setUseCaches(false);
  
              // 构建请求头
              this.generateHeader();
              this.generateBody();
  
              conn.connect();
  
              LOG.info(String.format("--请求路径%s,请求方法%s-", url, method));
              Response response = new Response();
              response.setBody(conn.getInputStream());
              response.setStatus(conn.getResponseCode());
              response.setHeaders(conn.getHeaderFields());
              return response;
          } finally {
              if (conn != null)
                  conn.disconnect();
          }
      }
docs: 本地执行请求--测试使用，生产环境禁用