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 javax.
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.
Modifier and Type | Field and Description |
---|---|
private String[] | |
private boolean | |
private String[] | |
private boolean |
Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
public String[] | Returns: a copy of the array of ciphersuites ornull if none have
been set
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Returns a copy of the array of ciphersuites or |
public abstract InetSocketAddress | Returns: address of the remote client initiating the connectionReturns the address of the remote client initiating the connection. |
public abstract HttpsConfigurator | Returns: HttpsConfigurator for this instance of HttpsParameters Returns the |
public boolean | Returns: whether client authentication should be required
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Returns whether client authentication should be required. |
public String[] | Returns: a copy of the array of protocols ornull if none have been
set
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Returns a copy of the array of protocols or |
public boolean | Returns: whether client authentication should be requested
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Returns whether client authentication should be requested. |
public void | setCipherSuites(String[]
the array of ciphersuites (or cipherSuites)null )
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Sets the array of ciphersuites. |
public void | setNeedClientAuth(boolean
whether client authentication should be required needClientAuth)
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Sets whether client authentication should be required. |
public void | setProtocols(String[]
the array of protocols (or protocols)null )
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Sets the array of protocols. |
public abstract void | setSSLParameters(SSLParameters
the params)SSLParameters to set. If null then the
existing parameters (if any) remain unchangedSets the |
public void | setWantClientAuth(boolean
whether client authentication should be requested wantClientAuth)
Deprecated
since 23. It is recommended that the SSL parameters be configured and
read through the use of
SSLParameters .
Sets whether client authentication should be requested. |
cipherSuites | back to summary |
---|---|
private String[] cipherSuites |
needClientAuth | back to summary |
---|---|
private boolean needClientAuth |
protocols | back to summary |
---|---|
private String[] protocols |
wantClientAuth | back to summary |
---|---|
private boolean wantClientAuth |
HttpsParameters | back to summary |
---|---|
protected HttpsParameters() Constructor for subclasses to call. |
getCipherSuites | back to summary |
---|---|
public String[] getCipherSuites()
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Returns a copy of the array of ciphersuites or
|
getClientAddress | back to summary |
---|---|
public abstract InetSocketAddress getClientAddress() Returns the address of the remote client initiating the connection.
|
getHttpsConfigurator | back to summary |
---|---|
public abstract HttpsConfigurator getHttpsConfigurator() Returns the
|
getNeedClientAuth | back to summary |
---|---|
public boolean getNeedClientAuth()
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Returns whether client authentication should be required.
|
getProtocols | back to summary |
---|---|
public String[] getProtocols()
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Returns a copy of the array of protocols or
|
getWantClientAuth | back to summary |
---|---|
public boolean getWantClientAuth()
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Returns whether client authentication should be requested.
|
setCipherSuites | back to summary |
---|---|
public void setCipherSuites(String[] cipherSuites)
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Sets the array of ciphersuites.
|
setNeedClientAuth | back to summary |
---|---|
public void setNeedClientAuth(boolean needClientAuth)
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Sets whether client authentication should be required. Calling this method
clears the
|
setProtocols | back to summary |
---|---|
public void setProtocols(String[] protocols)
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Sets the array of protocols.
|
setSSLParameters | back to summary |
---|---|
public abstract void setSSLParameters(SSLParameters params) Sets the
|
setWantClientAuth | back to summary |
---|---|
public void setWantClientAuth(boolean wantClientAuth)
Deprecated since 23. It is recommended that the SSL parameters be configured and
read through the use of Sets whether client authentication should be requested. Calling this
method clears the
|