Class RpcConnectionFactory

  • All Implemented Interfaces:
    org.eclipse.jetty.server.ConnectionFactory, org.eclipse.jetty.util.component.LifeCycle

    public class RpcConnectionFactory
    extends org.eclipse.jetty.util.component.AbstractLifeCycle
    implements org.eclipse.jetty.server.ConnectionFactory
    RPC Implementation for the Jetty ConnectionFactory interface, in charge of translating runtime protocol buffers to HTTP requests/responses.
    • 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.server.ConnectionFactory

        org.eclipse.jetty.server.ConnectionFactory.Detecting, org.eclipse.jetty.server.ConnectionFactory.Upgrading
      • 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
    • Constructor Detail

      • RpcConnectionFactory

        public RpcConnectionFactory()
    • Method Detail

      • getProtocol

        public String getProtocol()
        Specified by:
        getProtocol in interface org.eclipse.jetty.server.ConnectionFactory
      • getProtocols

        public List<String> getProtocols()
        Specified by:
        getProtocols in interface org.eclipse.jetty.server.ConnectionFactory
      • newConnection

        public org.eclipse.jetty.io.Connection newConnection​(org.eclipse.jetty.server.Connector connector,
                                                             org.eclipse.jetty.io.EndPoint endPoint)
        Specified by:
        newConnection in interface org.eclipse.jetty.server.ConnectionFactory