Package io.github.mahmoudimus.http2
Class HeaderListSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.github.mahmoudimus.http2.Http2Exception
io.github.mahmoudimus.http2.HeaderListSizeException
- All Implemented Interfaces:
Serializable
A decoded field section is larger than the decoder's SETTINGS_MAX_HEADER_LIST_SIZE. This is a
stream error: the whole field block was still decoded, so the HPACK state is intact and the
connection can continue. A server would typically answer the request with 431 (Request Header
Fields Too Large) or reset the stream with
Http2Exception.errorCode().- See Also:
-
Method Summary
Methods inherited from class io.github.mahmoudimus.http2.Http2Exception
connectionError, errorCode, getMessage, isConnectionError, streamError, streamIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
size
public long size()The size of the field section, counted as SETTINGS_MAX_HEADER_LIST_SIZE counts it.- Returns:
- the decoded field section size in octets
-
limit
public long limit()The configured decoded field section limit in octets.- Returns:
- the configured limit in octets
-