java.lang.Object
org.eclipse.jetty.http2.hpack.MetaDataBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.http.MetaDatabuild()protected booleancheckPseudoHeader(org.eclipse.jetty.http.HttpHeader header, Object value) voidemit(org.eclipse.jetty.http.HttpField field) intintgetSize()Get the size.voidsetBeginNanoTime(long beginNanoTime) voidsetMaxSize(int maxSize) voidstreamException(String messageFormat, Object... args)
-
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
- Throws:
HpackException.SessionException
-
streamException
-
checkPseudoHeader
-
build
- Throws:
HpackException.StreamException
-