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:
Closeable,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.NestedNested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeToNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task -
Field Summary
FieldsFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Method Summary
Modifier and TypeMethodDescriptionvoidCallback invoked when the operation fails.voidCallback method invoked when the endpoint is ready to be read.voidonOpen()Callback method invoked when this connection is opened.voidCallback invoked when the operation completes.protected abstract voidwritePROXYBytes(EndPoint endPoint, Callback callback) Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addEventListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterestedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Callback
completeWith
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Method Details
-
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
-
writePROXYBytes
-
succeeded
public void succeeded()Description copied from interface:CallbackCallback invoked when the operation completes.
-
failed
Description copied from interface:CallbackCallback invoked when the operation fails.
-
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:
-