java.lang.Object
com.sun.net.httpserver.HttpExchange
com.sun.net.httpserver.HttpsExchange
- 所有已实现的接口:
Request,AutoCloseable
此类封装接收到的 HTTPS 请求和在一次交换中生成的响应,并定义特定于 HTTPS 协议的
HttpExchange 扩展。
- 自从:
- 1.6
-
构造方法总结
构造方法 -
方法总结
在类 com.sun.net.httpserver.HttpExchange 中声明的方法
close, getAttribute, getHttpContext, getLocalAddress, getPrincipal, getProtocol, getRemoteAddress, getRequestBody, getRequestHeaders, getRequestMethod, getRequestURI, getResponseBody, getResponseCode, getResponseHeaders, sendResponseHeaders, setAttribute, setStreams
-
构造方法详细信息
-
HttpsExchange
protected HttpsExchange()子类调用的构造方法。
-
-
方法详情
-
getSSLSession
获取本次交易的SSLSession。- 返回:
SSLSession
-