Class SSLIOSessionHandlerAdaptor

  • All Implemented Interfaces:
    SSLSetupHandler

    @Deprecated
    class SSLIOSessionHandlerAdaptor
    extends java.lang.Object
    implements SSLSetupHandler
    Deprecated.
    (4.2)
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSLIOSessionHandlerAdaptor

        public SSLIOSessionHandlerAdaptor​(SSLIOSessionHandler 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 the SSLEngine used to establish the SSL session.
        Specified by:
        initalize in interface SSLSetupHandler
        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 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:
        javax.net.ssl.SSLException - if case of SSL protocol error.
      • setParams

        public void setParams​(HttpParams params)
        Deprecated.