Module io.netty.codec.http2
Package io.netty5.handler.codec.http2
Class Http2Exception.CompositeStreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.netty5.handler.codec.http2.Http2Exception
-
- io.netty5.handler.codec.http2.Http2Exception.CompositeStreamException
-
- All Implemented Interfaces:
Serializable
,Iterable<Http2Exception.StreamException>
- Enclosing class:
- Http2Exception
public static final class Http2Exception.CompositeStreamException extends Http2Exception implements 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.netty5.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)
Iterator<Http2Exception.StreamException>
iterator()
-
Methods inherited from class io.netty5.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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
CompositeStreamException
public CompositeStreamException(Http2Error error, int initialCapacity)
-
-
Method Detail
-
add
public void add(Http2Exception.StreamException e)
-
iterator
public Iterator<Http2Exception.StreamException> iterator()
- Specified by:
iterator
in interfaceIterable<Http2Exception.StreamException>
-
-