Class InstructionStreamConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.http3.internal.InstructionStreamConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Connection, org.eclipse.jetty.io.Connection.UpgradeTo
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.UpgradeTo
  • Constructor Summary

    Constructors
    Constructor
    Description
    InstructionStreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, ParserListener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected void
    notifySessionFailure(long error, String reason, Throwable failure)
     
    void
     
    void
     
    void
     
    protected abstract void
     
    void
    setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers)
     

    Methods inherited from class org.eclipse.jetty.io.AbstractConnection

    addEventListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • InstructionStreamConnection

      public InstructionStreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, ParserListener listener)
  • Method Details

    • isUseInputDirectByteBuffers

      public boolean isUseInputDirectByteBuffers()
    • setUseInputDirectByteBuffers

      public void setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers)
    • onUpgradeTo

      public void onUpgradeTo(ByteBuffer upgrade)
      Specified by:
      onUpgradeTo in interface org.eclipse.jetty.io.Connection.UpgradeTo
    • onOpen

      public void onOpen()
      Specified by:
      onOpen in interface org.eclipse.jetty.io.Connection
      Overrides:
      onOpen in class org.eclipse.jetty.io.AbstractConnection
    • onFillable

      public void onFillable()
      Specified by:
      onFillable in class org.eclipse.jetty.io.AbstractConnection
    • notifySessionFailure

      protected void notifySessionFailure(long error, String reason, Throwable failure)
    • parseInstruction

      protected abstract void parseInstruction(ByteBuffer buffer) throws org.eclipse.jetty.http3.qpack.QpackException
      Throws:
      org.eclipse.jetty.http3.qpack.QpackException