Class MetaDataBuilder

java.lang.Object
org.eclipse.jetty.http2.hpack.MetaDataBuilder

public class MetaDataBuilder extends Object
  • Constructor Details

    • MetaDataBuilder

      protected MetaDataBuilder(int maxHeadersSize)
      Parameters:
      maxHeadersSize - The maximum size of the headers, expressed as total name and value characters.
  • Method Details

    • getMaxSize

      public int getMaxSize()
      Returns:
      the maxSize
    • setMaxSize

      public void setMaxSize(int maxSize)
    • setBeginNanoTime

      public void setBeginNanoTime(long beginNanoTime)
    • getSize

      public int getSize()
      Get the size.
      Returns:
      the current size in bytes
    • emit

      public void emit(org.eclipse.jetty.http.HttpField field) throws HpackException.SessionException
      Throws:
      HpackException.SessionException
    • streamException

      public void streamException(String messageFormat, Object... args)
    • checkPseudoHeader

      protected boolean checkPseudoHeader(org.eclipse.jetty.http.HttpHeader header, Object value)
    • build

      public org.eclipse.jetty.http.MetaData build() throws HpackException.StreamException
      Throws:
      HpackException.StreamException