Package org.eclipse.jetty.http3
Class InstructionStreamConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.http3.InstructionStreamConnection
- All Implemented Interfaces:
Closeable,AutoCloseable,org.eclipse.jetty.io.Connection,org.eclipse.jetty.io.Connection.UpgradeTo,org.eclipse.jetty.util.thread.Invocable
- Direct Known Subclasses:
DecoderStreamConnection,EncoderStreamConnection
public abstract class InstructionStreamConnection
extends org.eclipse.jetty.io.AbstractConnection
implements org.eclipse.jetty.io.Connection.UpgradeTo
-
Nested Class Summary
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.UpgradeToNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.Callable, org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking, NOOP -
Constructor Summary
ConstructorsConstructorDescriptionInstructionStreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, ParserListener listener) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidnotifySessionFailure(long error, String reason, Throwable failure) voidvoidonOpen()voidonUpgradeTo(ByteBuffer upgrade) protected abstract voidparseInstruction(ByteBuffer buffer) voidsetUseInputDirectByteBuffers(boolean useInputDirectByteBuffers) Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addEventListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getInvocationType, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested
-
Constructor Details
-
InstructionStreamConnection
public InstructionStreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, ParserListener listener)
-
-
Method Details
-
isUseInputDirectByteBuffers
public boolean isUseInputDirectByteBuffers() -
setUseInputDirectByteBuffers
public void setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers) -
onUpgradeTo
- Specified by:
onUpgradeToin interfaceorg.eclipse.jetty.io.Connection.UpgradeTo
-
onOpen
public void onOpen()- Specified by:
onOpenin interfaceorg.eclipse.jetty.io.Connection- Overrides:
onOpenin classorg.eclipse.jetty.io.AbstractConnection
-
onFillable
public void onFillable()- Specified by:
onFillablein classorg.eclipse.jetty.io.AbstractConnection
-
notifySessionFailure
-
parseInstruction
protected abstract void parseInstruction(ByteBuffer buffer) throws org.eclipse.jetty.http3.qpack.QpackException - Throws:
org.eclipse.jetty.http3.qpack.QpackException
-