Class SSLSetupHandlerAdaptor

java.lang.Object
org.apache.http.impl.nio.reactor.SSLSetupHandlerAdaptor
All Implemented Interfaces:
SSLSetupHandler

@Deprecated class SSLSetupHandlerAdaptor extends Object implements SSLSetupHandler
Deprecated.
(4.2)
  • Field Details

  • Constructor Details

    • SSLSetupHandlerAdaptor

      public SSLSetupHandlerAdaptor(SSLSetupHandler handler)
      Deprecated.
  • Method Details

    • initalize

      public void initalize(SSLEngine sslengine) throws 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 the SSLEngine used to establish the SSL session.
      Specified by:
      initalize in interface SSLSetupHandler
      Parameters:
      sslengine - the SSL engine.
      Throws:
      SSLException - if case of SSL protocol error.
    • verify

      public void verify(IOSession ioSession, SSLSession sslsession) throws 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 the SSLSession. For instance this would be the right place to enforce SSL cipher strength, validate certificate chain and do hostname checks.
      Specified by:
      verify in interface SSLSetupHandler
      Parameters:
      ioSession - the underlying IOSession for the SSL connection.
      sslsession - newly created SSL session.
      Throws:
      SSLException - if case of SSL protocol error.
    • setParams

      public void setParams(HttpParams params)
      Deprecated.