Class DefaultSpdyRstStreamFrame
java.lang.Object
org.jboss.netty.handler.codec.spdy.DefaultSpdyStreamFrame
org.jboss.netty.handler.codec.spdy.DefaultSpdyRstStreamFrame
- All Implemented Interfaces:
SpdyFrame
,SpdyRstStreamFrame
,SpdyStreamFrame
The default
SpdyRstStreamFrame
implementation.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSpdyRstStreamFrame
(int streamId, int statusCode) Creates a new instance.DefaultSpdyRstStreamFrame
(int streamId, SpdyStreamStatus status) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the status of this frame.void
setStatus
(SpdyStreamStatus status) Sets the status of this frame.toString()
Methods inherited from class org.jboss.netty.handler.codec.spdy.DefaultSpdyStreamFrame
getStreamId, isLast, setLast, setStreamId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jboss.netty.handler.codec.spdy.SpdyStreamFrame
getStreamId, isLast, setLast, setStreamId
-
Field Details
-
status
-
-
Constructor Details
-
DefaultSpdyRstStreamFrame
public DefaultSpdyRstStreamFrame(int streamId, int statusCode) Creates a new instance.- Parameters:
streamId
- the Stream-ID of this framestatusCode
- the Status code of this frame
-
DefaultSpdyRstStreamFrame
Creates a new instance.- Parameters:
streamId
- the Stream-ID of this framestatus
- the status of this frame
-
-
Method Details
-
getStatus
Description copied from interface:SpdyRstStreamFrame
Returns the status of this frame.- Specified by:
getStatus
in interfaceSpdyRstStreamFrame
-
setStatus
Description copied from interface:SpdyRstStreamFrame
Sets the status of this frame.- Specified by:
setStatus
in interfaceSpdyRstStreamFrame
-
toString
-