Class MetaDataBuilder
java.lang.Object
org.eclipse.jetty.http3.qpack.internal.metadata.MetaDataBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected boolean
checkPseudoHeader
(HttpHeader header, Object value) void
int
Get the maxSize.int
getSize()
Get the size.void
setBeginNanoTime
(long beginNanoTime) protected void
streamException
(String messageFormat, Object... args)
-
Constructor Details
-
MetaDataBuilder
public MetaDataBuilder(int maxHeadersSize) - Parameters:
maxHeadersSize
- The maximum size of the headers, expressed as total name and value characters.
-
-
Method Details
-
getMaxSize
public int getMaxSize()Get the maxSize.- Returns:
- the maxSize
-
setBeginNanoTime
public void setBeginNanoTime(long beginNanoTime) -
getSize
public int getSize()Get the size.- Returns:
- the current size in bytes
-
emit
- Throws:
QpackException.SessionException
-
streamException
-
checkPseudoHeader
-
build
- Throws:
QpackException.StreamException
-