Package io.netty.handler.codec.http2
Class Http2Exception.StreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.netty.handler.codec.http2.Http2Exception
io.netty.handler.codec.http2.Http2Exception.StreamException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Http2Exception.HeaderListSizeException
- Enclosing class:
Http2Exception
Represents an exception that can be isolated to a single stream (as opposed to the entire connection).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.http2.Http2Exception
Http2Exception.ClosedStreamCreationException, Http2Exception.CompositeStreamException, Http2Exception.HeaderListSizeException, Http2Exception.ShutdownHint, Http2Exception.StreamException
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionStreamException
(int streamId, Http2Error error, String message) StreamException
(int streamId, Http2Error error, String message, Throwable cause) -
Method Summary
Methods inherited from class io.netty.handler.codec.http2.Http2Exception
closedStreamError, connectionError, connectionError, error, headerListSizeError, isStreamError, newStatic, shutdownHint, streamError, streamError, streamId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
streamId
private final int streamId
-
-
Constructor Details
-
StreamException
StreamException(int streamId, Http2Error error, String message) -
StreamException
StreamException(int streamId, Http2Error error, String message, Throwable cause)
-
-
Method Details
-
streamId
public int streamId()
-