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 Callback
Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface Connection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeToNested classes/interfaces inherited from interface Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task -
Field Summary
Fields inherited from interface Invocable
__nonBlocking, NOOP -
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 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Callback
completeWith
-
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
-
failed
-
getInvocationType
- Specified by:
getInvocationTypein interfaceInvocable- Overrides:
getInvocationTypein classAbstractConnection- 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:
-