Package org.eclipse.jetty.client
Class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
- java.lang.Object
-
- org.eclipse.jetty.io.AbstractConnection
-
- org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,Connection,Callback,Invocable
- Enclosing class:
- ProxyProtocolClientConnectionFactory
protected abstract static class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection extends AbstractConnection implements Callback
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidfailed(java.lang.Throwable x)Callback invoked when the operation fails.Invocable.InvocationTypegetInvocationType()voidonFillable()Callback method invoked when the endpoint is ready to be read.voidonOpen()Callback method invoked when this connection is opened.voidsucceeded()Callback invoked when the operation completes.protected abstract voidwritePROXYBytes(EndPoint endPoint, Callback callback)-
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
-
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
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
-
succeeded
public void succeeded()
Description copied from interface:CallbackCallback invoked when the operation completes.
- Specified by:
succeededin interfaceCallback- See Also:
Callback.failed(Throwable)
-
failed
public void failed(java.lang.Throwable x)
Description copied from interface:CallbackCallback invoked when the operation fails.
-
getInvocationType
public Invocable.InvocationType getInvocationType()
- Specified by:
getInvocationTypein interfaceInvocable- Returns:
- The InvocationType of this object
-
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()
-
-