Package org.apache.http.impl.nio.reactor
Class SSLIOSessionHandlerAdaptor
java.lang.Object
org.apache.http.impl.nio.reactor.SSLIOSessionHandlerAdaptor
- All Implemented Interfaces:
SSLSetupHandler
Deprecated.
(4.2)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SSLIOSessionHandler
Deprecated.private HttpParams
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Triggered when the SSL connection is being initialized.void
setParams
(HttpParams params) Deprecated.void
verify
(IOSession ioSession, SSLSession sslsession) Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.
-
Field Details
-
handler
Deprecated. -
params
Deprecated.
-
-
Constructor Details
-
SSLIOSessionHandlerAdaptor
Deprecated.
-
-
Method Details
-
initalize
Deprecated.Description copied from interface:SSLSetupHandler
Triggered when the SSL connection is being initialized. Custom handlers can use this callback to customize properties of theSSLEngine
used to establish the SSL session.- Specified by:
initalize
in interfaceSSLSetupHandler
- Parameters:
sslengine
- the SSL engine.- Throws:
SSLException
- if case of SSL protocol error.
-
verify
Deprecated.Description copied from interface:SSLSetupHandler
Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed. Custom handlers can use this callback to verify properties of theSSLSession
. For instance this would be the right place to enforce SSL cipher strength, validate certificate chain and do hostname checks.- Specified by:
verify
in interfaceSSLSetupHandler
- Parameters:
ioSession
- the underlying IOSession for the SSL connection.sslsession
- newly created SSL session.- Throws:
SSLException
- if case of SSL protocol error.
-
setParams
Deprecated.
-