Package org.eclipse.jetty.server
Class ProxyConnectionFactory.ProxyProtocolV1orV2Connection
- java.lang.Object
-
- org.eclipse.jetty.io.AbstractConnection
-
- org.eclipse.jetty.server.ProxyConnectionFactory.ProxyProtocolV1orV2Connection
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,Connection
- Enclosing class:
- ProxyConnectionFactory
public class ProxyConnectionFactory.ProxyProtocolV1orV2Connection extends AbstractConnection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProxyProtocolV1orV2Connection(EndPoint endp, Connector connector, java.lang.String next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonFillable()Callback method invoked when the endpoint is ready to be read.voidonOpen()Callback method invoked when this connection is opened.-
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested
-
-
-
-
Method Detail
-
onOpen
public void onOpen()
Description copied from interface:ConnectionCallback method invoked when this connection is opened.
Creators of the connection implementation are responsible for calling this method.
- Specified by:
onOpenin interfaceConnection- Overrides:
onOpenin classAbstractConnection
-
onFillable
public void onFillable()
Description copied from class:AbstractConnectionCallback method invoked when the endpoint is ready to be read.
- Specified by:
onFillablein classAbstractConnection- See Also:
AbstractConnection.fillInterested()
-
-