Package org.eclipse.jetty.http2.hpack
Class MetaDataBuilder
java.lang.Object
org.eclipse.jetty.http2.hpack.MetaDataBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected boolean
checkPseudoHeader
(HttpHeader header, Object value) void
int
int
getSize()
Get the size.void
setMaxSize
(int maxSize) void
streamException
(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) -
getSize
public int getSize()Get the size.- Returns:
- the current size in bytes
-
emit
- Throws:
HpackException.SessionException
-
streamException
-
checkPseudoHeader
-
build
- Throws:
HpackException.StreamException
-