Class HttpsParameters
java.lang.Object
com.sun.net.httpserver.HttpsParameters
Represents the set of parameters for each https connection negotiated with
clients. One of these is created and passed to
HttpsConfigurator.configure(HttpsParameters)
for every incoming https
connection, in order to determine the parameters to use.
The underlying SSL parameters may be established either via the set/get
methods of this class, or else via a SSLParameters
object. SSLParameters
is the preferred method, because in the future,
additional configuration capabilities may be added to that class, and it is
easier to determine the set of supported parameters and their default values
with SSLParameters. Also, if an SSLParameters
object is provided via
setSSLParameters(SSLParameters)
then those parameter settings are
used, and any settings made in this object are ignored.
- Since:
- 1.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Deprecated.abstract InetSocketAddress
Returns the address of the remote client initiating the connection.abstract HttpsConfigurator
Returns theHttpsConfigurator
for thisHttpsParameters
.boolean
SSLParameters
.