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.HTTP2ProducerNested 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.NestedNested 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.UpgradeToNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.InvocationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HTTP2Clientprivate final Session.Listenerprivate final org.eclipse.jetty.util.Promise<Session> Fields inherited from class org.eclipse.jetty.http2.HTTP2Connection
LOGFields inherited from interface org.eclipse.jetty.util.Callback
NOOPFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateHTTP2ClientConnection(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 TypeMethodDescriptionvoidorg.eclipse.jetty.util.thread.Invocable.InvocationTypevoidonOpen()voidMethods inherited from class org.eclipse.jetty.http2.HTTP2Connection
close, dispatch, getBytesIn, getBytesOut, getMessagesIn, getMessagesOut, getParser, getSession, offerTask, onClose, onFillable, onFlushed, onIdleExpired, produce, setInputBuffer, wrapParserListenerMethods 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:
onOpenin interfaceorg.eclipse.jetty.io.Connection- Overrides:
onOpenin classHTTP2Connection
-
succeeded
public void succeeded()- Specified by:
succeededin interfaceorg.eclipse.jetty.util.Callback
-
failed
- Specified by:
failedin interfaceorg.eclipse.jetty.util.Callback
-
getInvocationType
public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()- Specified by:
getInvocationTypein interfaceorg.eclipse.jetty.util.thread.Invocable
-