Class HTTP3StreamConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.http3.internal.HTTP3StreamConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Connection

public abstract class HTTP3StreamConnection extends org.eclipse.jetty.io.AbstractConnection
  • 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
    HTTP3StreamConnection(org.eclipse.jetty.quic.common.QuicStreamEndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, MessageParser parser)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.eclipse.jetty.quic.common.QuicStreamEndPoint
     
    boolean
     
    boolean
     
    boolean
     
    void
     
    protected abstract void
    onDataAvailable(long streamId)
     
    void
     
    void
     
    protected boolean
     
     
    void
    setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers)
     
     

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

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

    Methods inherited from class java.lang.Object

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

    • HTTP3StreamConnection

      public HTTP3StreamConnection(org.eclipse.jetty.quic.common.QuicStreamEndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, MessageParser parser)
  • Method Details

    • getEndPoint

      public org.eclipse.jetty.quic.common.QuicStreamEndPoint getEndPoint()
      Specified by:
      getEndPoint in interface org.eclipse.jetty.io.Connection
      Overrides:
      getEndPoint in class org.eclipse.jetty.io.AbstractConnection
    • isUseInputDirectByteBuffers

      public boolean isUseInputDirectByteBuffers()
    • setUseInputDirectByteBuffers

      public void setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers)
    • onOpen

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

      public void onClose(Throwable cause)
      Specified by:
      onClose in interface org.eclipse.jetty.io.Connection
      Overrides:
      onClose in class org.eclipse.jetty.io.AbstractConnection
    • onReadTimeout

      protected boolean onReadTimeout(Throwable timeout)
      Overrides:
      onReadTimeout in class org.eclipse.jetty.io.AbstractConnection
    • onFillable

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

      protected abstract void onDataAvailable(long streamId)
    • readData

      public Stream.Data readData()
    • demand

      public void demand()
    • hasDemand

      public boolean hasDemand()
    • hasBuffer

      public boolean hasBuffer()
    • toConnectionString

      public String toConnectionString()
      Overrides:
      toConnectionString in class org.eclipse.jetty.io.AbstractConnection