Class HttpClientTransportOverUnixSockets

  • All Implemented Interfaces:
    org.eclipse.jetty.client.HttpClientTransport, org.eclipse.jetty.io.ClientConnectionFactory, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.LifeCycle

    public class HttpClientTransportOverUnixSockets
    extends org.eclipse.jetty.client.http.HttpClientTransportOverHTTP
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  HttpClientTransportOverUnixSockets.UnixSocketSelectorManager  
      • Nested classes/interfaces inherited from class org.eclipse.jetty.client.AbstractConnectorHttpClientTransport

        org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.ClientSelectorManager
      • 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.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.io.ClientConnectionFactory

        CONNECTOR_CONTEXT_KEY
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
      • Fields inherited from interface org.eclipse.jetty.client.HttpClientTransport

        HTTP_CONNECTION_PROMISE_CONTEXT_KEY, HTTP_DESTINATION_CONTEXT_KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connect​(InetSocketAddress address, Map<String,​Object> context)  
      protected void doStop()  
      protected org.eclipse.jetty.io.SelectorManager newSelectorManager​(org.eclipse.jetty.client.HttpClient client)  
      • Methods inherited from class org.eclipse.jetty.client.http.HttpClientTransportOverHTTP

        newConnection, newHttpConnection, newHttpDestination
      • Methods inherited from class org.eclipse.jetty.client.AbstractConnectorHttpClientTransport

        configure, connectFailed, doStart, getSelectors
      • Methods inherited from class org.eclipse.jetty.client.AbstractHttpClientTransport

        getConnectionPoolFactory, getHttpClient, setConnectionPoolFactory, setHttpClient
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
      • Methods inherited from interface org.eclipse.jetty.io.ClientConnectionFactory

        customize
    • Constructor Detail

      • HttpClientTransportOverUnixSockets

        public HttpClientTransportOverUnixSockets​(String unixSocket)
    • Method Detail

      • newSelectorManager

        protected org.eclipse.jetty.io.SelectorManager newSelectorManager​(org.eclipse.jetty.client.HttpClient client)
        Overrides:
        newSelectorManager in class org.eclipse.jetty.client.AbstractConnectorHttpClientTransport
      • connect

        public void connect​(InetSocketAddress address,
                            Map<String,​Object> context)
        Specified by:
        connect in interface org.eclipse.jetty.client.HttpClientTransport
        Overrides:
        connect in class org.eclipse.jetty.client.AbstractConnectorHttpClientTransport
      • doStop

        protected void doStop()
                       throws Exception
        Overrides:
        doStop in class org.eclipse.jetty.client.AbstractConnectorHttpClientTransport
        Throws:
        Exception