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 protected
ProxyProtocolV1orV2Connection(EndPoint endp, Connector connector, java.lang.String next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFillable()
Callback method invoked when the endpoint is ready to be read.void
onOpen()
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:Connection
Callback method invoked when this connection is opened.
Creators of the connection implementation are responsible for calling this method.
- Specified by:
onOpen
in interfaceConnection
- Overrides:
onOpen
in classAbstractConnection
-
onFillable
public void onFillable()
Description copied from class:AbstractConnection
Callback method invoked when the endpoint is ready to be read.
- Specified by:
onFillable
in classAbstractConnection
- See Also:
AbstractConnection.fillInterested()
-
-