Class AbstractConnectorHttpClientTransport.ClientSelectorManager

  • All Implemented Interfaces:
    org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle
    Enclosing class:
    AbstractConnectorHttpClientTransport

    protected class AbstractConnectorHttpClientTransport.ClientSelectorManager
    extends SelectorManager
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

        org.eclipse.jetty.util.component.Dumpable.DumpableContainer
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Detail

      • ClientSelectorManager

        protected ClientSelectorManager​(HttpClient client,
                                        int selectors)
    • Method Detail

      • newConnection

        public Connection newConnection​(java.nio.channels.SelectableChannel channel,
                                        EndPoint endPoint,
                                        java.lang.Object attachment)
                                 throws java.io.IOException
        Specified by:
        newConnection in class SelectorManager
        Throws:
        java.io.IOException
      • connectionFailed

        protected void connectionFailed​(java.nio.channels.SelectableChannel channel,
                                        java.lang.Throwable x,
                                        java.lang.Object attachment)
        Overrides:
        connectionFailed in class SelectorManager