Class NoopIOSessionStrategy

  • All Implemented Interfaces:
    SchemeIOSessionStrategy

    public class NoopIOSessionStrategy
    extends java.lang.Object
    implements SchemeIOSessionStrategy
    Noop implementation for protocol schemes that have no transport level security.
    Since:
    4.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isLayeringRequired()
      Determines whether or not protocol layering is required.
      org.apache.http.nio.reactor.IOSession upgrade​(org.apache.http.HttpHost host, org.apache.http.nio.reactor.IOSession iosession)
      Decorates the original IOSession with a transport level security protocol implementation.
      • Methods inherited from class java.lang.Object

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

      • NoopIOSessionStrategy

        public NoopIOSessionStrategy()
    • Method Detail

      • upgrade

        public org.apache.http.nio.reactor.IOSession upgrade​(org.apache.http.HttpHost host,
                                                             org.apache.http.nio.reactor.IOSession iosession)
        Description copied from interface: SchemeIOSessionStrategy
        Decorates the original IOSession with a transport level security protocol implementation.
        Specified by:
        upgrade in interface SchemeIOSessionStrategy
        Parameters:
        host - the target host.
        iosession - the I/O session.
        Returns:
        upgraded I/O session.