Class Http2Exception.HeaderListSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.netty.handler.codec.http2.Http2Exception
io.netty.handler.codec.http2.Http2Exception.StreamException
io.netty.handler.codec.http2.Http2Exception.HeaderListSizeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
Http2Exception
public static final class Http2Exception.HeaderListSizeException
extends Http2Exception.StreamException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Http2Exception
Http2Exception.ClosedStreamCreationException, Http2Exception.CompositeStreamException, Http2Exception.HeaderListSizeException, Http2Exception.ShutdownHint, Http2Exception.StreamExceptionModifier and TypeClassDescriptionstatic final classUsed when a stream creation attempt fails but may be because the stream was previously closed.static final classProvides the ability to handle multiple stream exceptions with one throw statement.static final classstatic enumProvides a hint as to if shutdown is justified, what type of shutdown should be executed.static classRepresents an exception that can be isolated to a single stream (as opposed to the entire connection). -
Method Summary
Methods inherited from class Http2Exception.StreamException
streamIdMethods inherited from class Http2Exception
closedStreamError, connectionError, connectionError, error, headerListSizeError, isStreamError, shutdownHint, streamError, streamError, streamIdModifier and TypeMethodDescriptionstatic Http2ExceptionclosedStreamError(Http2Error error, String fmt, Object... args) Use if an error has occurred which can not be isolated to a single stream, but instead applies to the entire connection.static Http2ExceptionconnectionError(Http2Error error, String fmt, Object... args) Use if an error has occurred which can not be isolated to a single stream, but instead applies to the entire connection.static Http2ExceptionconnectionError(Http2Error error, Throwable cause, String fmt, Object... args) Use if an error has occurred which can not be isolated to a single stream, but instead applies to the entire connection.error()static Http2ExceptionheaderListSizeError(int id, Http2Error error, boolean onDecode, String fmt, Object... args) A specific stream error resulting from failing to decode headers that exceeds the max header size list.static booleanCheck if an exception is isolated to a single stream or the entire connection.Provide a hint as to what type of shutdown should be executed.static Http2ExceptionstreamError(int id, Http2Error error, String fmt, Object... args) Use if an error which can be isolated to a single stream has occurred.static Http2ExceptionstreamError(int id, Http2Error error, Throwable cause, String fmt, Object... args) Use if an error which can be isolated to a single stream has occurred.static intGet the stream id associated with an exception.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
duringDecode
public boolean duringDecode()
-