javaweb 프로젝트 에이전트

도구 클래스
package com.bootdo.wechat.utils;

import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
import java.io.*;
import java.net.Proxy;
import java.net.URL;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class HttpsRequestUtil {

   /**
     *   https       
     *
     * @param requestUrl     
     * @param cookie    Cookie
     * @param requestMethod     (GET、POST、AJAX),   GET  ,         requestUrl  
     * @param outputStr      
     * @param character     
     * @param proxy     
     * @return         
     * @throws NoSuchProviderException
     * @throws NoSuchAlgorithmException
     * @throws KeyManagementException
     * @throws IOException
     */
    public static WebResponse httpRe

좋은 웹페이지 즐겨찾기