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.voidsetStatus(SpdyStreamStatus status) Sets the status of this frame.toString()Methods inherited from class org.jboss.netty.handler.codec.spdy.DefaultSpdyStreamFrame
getStreamId, isLast, setLast, setStreamIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:SpdyRstStreamFrameReturns the status of this frame.- Specified by:
getStatusin interfaceSpdyRstStreamFrame
-
setStatus
Description copied from interface:SpdyRstStreamFrameSets the status of this frame.- Specified by:
setStatusin interfaceSpdyRstStreamFrame
-
toString
-