Class RpcConnectionFactory
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- com.google.apphosting.runtime.jetty94.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.ConnectionFactoryRPC 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
-
-
Constructor Summary
Constructors Constructor Description RpcConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProtocol()List<String>getProtocols()org.eclipse.jetty.io.ConnectionnewConnection(org.eclipse.jetty.server.Connector connector, org.eclipse.jetty.io.EndPoint endPoint)
-
-
-
Method Detail
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfaceorg.eclipse.jetty.server.ConnectionFactory
-
getProtocols
public List<String> getProtocols()
- Specified by:
getProtocolsin interfaceorg.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:
newConnectionin interfaceorg.eclipse.jetty.server.ConnectionFactory
-
-