public final class DefaultHttp2ResetFrame extends AbstractHttp2StreamFrame implements Http2ResetFrame
Http2ResetFrame implementation.| Constructor and Description |
|---|
DefaultHttp2ResetFrame(Http2Error error)
Construct a reset message.
|
DefaultHttp2ResetFrame(long errorCode)
Construct a reset message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns
true if o has equal stream to this object. |
long |
errorCode()
The reason for resetting the stream.
|
int |
hashCode() |
DefaultHttp2ResetFrame |
setStream(Object stream)
Set the stream identifier for this message.
|
String |
toString() |
streamclone, finalize, getClass, notify, notifyAll, wait, wait, waitstreampublic DefaultHttp2ResetFrame(Http2Error error)
error - the non-null reason for resetpublic DefaultHttp2ResetFrame(long errorCode)
errorCode - the reason for resetpublic DefaultHttp2ResetFrame setStream(Object stream)
Http2StreamFramesetStream in interface Http2ResetFramesetStream in interface Http2StreamFramesetStream in class AbstractHttp2StreamFramethispublic long errorCode()
Http2ResetFrameerrorCode in interface Http2ResetFramepublic boolean equals(Object o)
AbstractHttp2StreamFrametrue if o has equal stream to this object.equals in class AbstractHttp2StreamFramepublic int hashCode()
hashCode in class AbstractHttp2StreamFrameCopyright © 2008–2016 The Netty Project. All rights reserved.