APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.net.httpserver

public abstract Class HttpsExchange

extends HttpExchange
Class Inheritance
Known Direct Subclasses
sun.net.httpserver.HttpsExchangeImpl
Imports
javax.net.ssl.SSLSession

This class encapsulates a HTTPS request received and a response to be generated in one exchange and defines the extensions to HttpExchange that are specific to the HTTPS protocol.
Since
1.6

Field Summary

Inherited from com.sun.net.httpserver.HttpExchange:
RSPBODY_CHUNKEDRSPBODY_EMPTY

Constructor Summary

AccessConstructor and Description
protected
HttpsExchange()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public abstract SSLSession

Returns:

the SSLSession
getSSLSession
()

Get the SSLSession for this exchange.

Inherited from com.sun.net.httpserver.HttpExchange:
closegetAttributegetHttpContextgetLocalAddressgetPrincipalgetProtocolgetRemoteAddressgetRequestBodygetRequestHeadersgetRequestMethodgetRequestURIgetResponseBodygetResponseCodegetResponseHeaderssendResponseHeaderssetAttributesetStreams

Constructor Detail

HttpsExchangeback to summary
protected HttpsExchange()

Constructor for subclasses to call.

Method Detail

getSSLSessionback to summary
public abstract SSLSession getSSLSession()

Get the SSLSession for this exchange.

Returns:SSLSession

the SSLSession