Package io.netty.handler.codec.http2
Class Http2Exception.CompositeStreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.netty.handler.codec.http2.Http2Exception
-
- io.netty.handler.codec.http2.Http2Exception.CompositeStreamException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<Http2Exception.StreamException>
- Enclosing class:
- Http2Exception
public static final class Http2Exception.CompositeStreamException extends Http2Exception implements java.lang.Iterable<Http2Exception.StreamException>
Provides the ability to handle multiple stream exceptions with one throw statement.- See Also:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description CompositeStreamException(Http2Error error, int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Http2Exception.StreamException e)
java.util.Iterator<Http2Exception.StreamException>
iterator()
-
Methods inherited from class io.netty.handler.codec.http2.Http2Exception
closedStreamError, connectionError, connectionError, error, headerListSizeError, isStreamError, shutdownHint, streamError, streamError, streamId
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CompositeStreamException
public CompositeStreamException(Http2Error error, int initialCapacity)
-
-
Method Detail
-
add
public void add(Http2Exception.StreamException e)
-
iterator
public java.util.Iterator<Http2Exception.StreamException> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Http2Exception.StreamException>
-
-