java通过socket实现https get 请求网页

1. 首先要初始化ssl context SSLContext context = SSLContext.getDefault(); socket = (SSLSocket) context.getSocketFactory().createSocket(); socket.setHandshake

你可能感兴趣的:(java通过socket实现https get 请求网页)