Class QuicDatagramExtensionEvent

java.lang.Object
io.netty.handler.codec.quic.QuicDatagramExtensionEvent
All Implemented Interfaces:
QuicEvent, QuicExtensionEvent

public final class QuicDatagramExtensionEvent extends Object implements QuicExtensionEvent
Used when the remote peer supports the QUIC DATAGRAM extension.
  • Method Details

    • maxLength

      public int maxLength()
      The maximum datagram payload length the peer will accept. If you try to write bigger datagrams the write will fail.
      Returns:
      the max length.
    • toString

      public String toString()
      Overrides:
      toString in class Object