Package org.apache.http.impl.nio.reactor
Class SSLSetupHandlerAdaptor
- java.lang.Object
-
- org.apache.http.impl.nio.reactor.SSLSetupHandlerAdaptor
-
- All Implemented Interfaces:
SSLSetupHandler
@Deprecated class SSLSetupHandlerAdaptor extends java.lang.Object implements SSLSetupHandler
Deprecated.(4.2)
-
-
Field Summary
Fields Modifier and Type Field Description private SSLSetupHandler
handler
Deprecated.private HttpParams
params
Deprecated.
-
Constructor Summary
Constructors Constructor Description SSLSetupHandlerAdaptor(SSLSetupHandler handler)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
initalize(javax.net.ssl.SSLEngine sslengine)
Deprecated.Triggered when the SSL connection is being initialized.void
setParams(HttpParams params)
Deprecated.void
verify(IOSession ioSession, javax.net.ssl.SSLSession sslsession)
Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.
-
-
-
Field Detail
-
handler
private final SSLSetupHandler handler
Deprecated.
-
params
private HttpParams params
Deprecated.
-
-
Constructor Detail
-
SSLSetupHandlerAdaptor
public SSLSetupHandlerAdaptor(SSLSetupHandler handler)
Deprecated.
-
-
Method Detail
-
initalize
public void initalize(javax.net.ssl.SSLEngine sslengine) throws javax.net.ssl.SSLException
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:
javax.net.ssl.SSLException
- if case of SSL protocol error.
-
verify
public void verify(IOSession ioSession, javax.net.ssl.SSLSession sslsession) throws javax.net.ssl.SSLException
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:
javax.net.ssl.SSLException
- if case of SSL protocol error.
-
setParams
public void setParams(HttpParams params)
Deprecated.
-
-