Package org.apache.http.impl.nio.reactor
Class SSLIOSessionHandlerAdaptor
- java.lang.Object
-
- org.apache.http.impl.nio.reactor.SSLIOSessionHandlerAdaptor
-
- All Implemented Interfaces:
SSLSetupHandler
@Deprecated class SSLIOSessionHandlerAdaptor extends java.lang.Object implements SSLSetupHandler
Deprecated.(4.2)
-
-
Field Summary
Fields Modifier and Type Field Description private SSLIOSessionHandlerhandlerDeprecated.private HttpParamsparamsDeprecated.
-
Constructor Summary
Constructors Constructor Description SSLIOSessionHandlerAdaptor(SSLIOSessionHandler handler)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinitalize(javax.net.ssl.SSLEngine sslengine)Deprecated.Triggered when the SSL connection is being initialized.voidsetParams(HttpParams params)Deprecated.voidverify(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 SSLIOSessionHandler handler
Deprecated.
-
params
private HttpParams params
Deprecated.
-
-
Constructor Detail
-
SSLIOSessionHandlerAdaptor
public SSLIOSessionHandlerAdaptor(SSLIOSessionHandler handler)
Deprecated.
-
-
Method Detail
-
initalize
public void initalize(javax.net.ssl.SSLEngine sslengine) throws javax.net.ssl.SSLExceptionDeprecated.Description copied from interface:SSLSetupHandlerTriggered when the SSL connection is being initialized. Custom handlers can use this callback to customize properties of theSSLEngineused to establish the SSL session.- Specified by:
initalizein 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:SSLSetupHandlerTriggered 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:
verifyin 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.
-
-