Package org.eclipse.jetty.client
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 org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.InvocableCallback, 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]
private final ProxyProtocolClientConnectionFactory.V2.Tag
Fields inherited from class org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
LOG
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
ConstructorsConstructorDescriptionProxyProtocolConnectionV2
(EndPoint endPoint, Executor executor, ClientConnectionFactory factory, Map<String, Object> context, ProxyProtocolClientConnectionFactory.V2.Tag tag) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
writePROXYBytes
(EndPoint endPoint, Callback callback) Methods inherited from class org.eclipse.jetty.client.ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
failed, getInvocationType, onFillable, onOpen, succeeded
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 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:
writePROXYBytes
in classProxyProtocolClientConnectionFactory.ProxyProtocolConnection
-