Class ProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV2
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV2
- All Implemented Interfaces:
Closeable, AutoCloseable, Connection, Callback, Invocable
- Enclosing class:
ProxyProtocolClientConnectionFactory
private static class ProxyProtocolClientConnectionFactory.ProxyProtocolConnectionV2
extends ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
-
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.InvocationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private final ProxyProtocolClientConnectionFactory.V2.TagFields inherited from class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
LOGFields inherited from interface Invocable
__nonBlocking -
Constructor Summary
ConstructorsConstructorDescriptionProxyProtocolConnectionV2(EndPoint endPoint, Executor executor, ClientConnectionFactory factory, Map<String, Object> context, ProxyProtocolClientConnectionFactory.V2.Tag tag) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwritePROXYBytes(EndPoint endPoint, Callback callback) Methods inherited from class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
failed, getInvocationType, onFillable, onOpen, succeededMethods inherited from class 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 Details
-
MAGIC
private static final byte[] MAGIC -
tag
-
-
Constructor Details
-
ProxyProtocolConnectionV2
public ProxyProtocolConnectionV2(EndPoint endPoint, Executor executor, ClientConnectionFactory factory, Map<String, Object> context, ProxyProtocolClientConnectionFactory.V2.Tag tag)
-
-
Method Details
-
writePROXYBytes
- Specified by:
writePROXYBytesin classProxyProtocolClientConnectionFactory.ProxyProtocolConnection
-