public class Http2Reset extends Http2Frame
Http2Reset represents a HTTP/2 RST_STREAM frame.| Constructor and Description |
|---|
Http2Reset(int streamId)
Constructor to create
Http2Reset with stream id. |
Http2Reset(int streamId,
io.netty.handler.codec.http2.Http2Error error)
Constructor to create a
Http2Reset with stream id need to reset and the error. |
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.codec.http2.Http2Error |
getError()
Gets the cause of the stream reset.
|
getStreamId, isEndOfStream, setEndOfStream, setStreamIdpublic Http2Reset(int streamId,
io.netty.handler.codec.http2.Http2Error error)
Http2Reset with stream id need to reset and the error.streamId - id of the stream need to be reseterror - error to be written as the cause for resetpublic Http2Reset(int streamId)
Http2Reset with stream id.
REFUSED_STREAM is used as the error code.streamId - id of the stream need to be resetCopyright © 2022 WSO2. All rights reserved.