Package org.eclipse.jetty.http2.client
Class HTTP2ClientConnectionFactory.HTTP2ClientConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.http2.HTTP2Connection
org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory.HTTP2ClientConnection
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.eclipse.jetty.io.Connection
,org.eclipse.jetty.io.WriteFlusher.Listener
,org.eclipse.jetty.util.Callback
,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
HTTP2ClientConnectionFactory
private static class HTTP2ClientConnectionFactory.HTTP2ClientConnection
extends HTTP2Connection
implements org.eclipse.jetty.util.Callback
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http2.HTTP2Connection
HTTP2Connection.HTTP2Producer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection
org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.io.Connection.UpgradeFrom, org.eclipse.jetty.io.Connection.UpgradeTo
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.InvocationType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HTTP2Client
private final Session.Listener
private final org.eclipse.jetty.util.Promise
<Session> Fields inherited from class org.eclipse.jetty.http2.HTTP2Connection
LOG
Fields inherited from interface org.eclipse.jetty.util.Callback
NOOP
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HTTP2ClientConnection
(HTTP2Client client, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.io.EndPoint endpoint, ISession session, int bufferSize, org.eclipse.jetty.util.Promise<Session> promise, Session.Listener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.eclipse.jetty.util.thread.Invocable.InvocationType
void
onOpen()
void
Methods inherited from class org.eclipse.jetty.http2.HTTP2Connection
close, dispatch, getBytesIn, getBytesOut, getMessagesIn, getMessagesOut, getParser, getSession, offerTask, onClose, onFillable, onFlushed, onIdleExpired, produce, setInputBuffer, wrapParserListener
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addListener, failedCallback, fillInterested, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, isFillInterested, onFillInterestedFailed, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested
-
Field Details
-
client
-
promise
-
listener
-
-
Constructor Details
-
HTTP2ClientConnection
private HTTP2ClientConnection(HTTP2Client client, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.io.EndPoint endpoint, ISession session, int bufferSize, org.eclipse.jetty.util.Promise<Session> promise, Session.Listener listener)
-
-
Method Details
-
onOpen
public void onOpen()- Specified by:
onOpen
in interfaceorg.eclipse.jetty.io.Connection
- Overrides:
onOpen
in classHTTP2Connection
-
succeeded
public void succeeded()- Specified by:
succeeded
in interfaceorg.eclipse.jetty.util.Callback
-
failed
- Specified by:
failed
in interfaceorg.eclipse.jetty.util.Callback
-
getInvocationType
public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()- Specified by:
getInvocationType
in interfaceorg.eclipse.jetty.util.thread.Invocable
-