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
public class DefaultSpdyRstStreamFrame extends DefaultSpdyStreamFrame implements SpdyRstStreamFrame
The defaultSpdyRstStreamFrameimplementation.
-
-
Field Summary
Fields Modifier and Type Field Description private SpdyStreamStatusstatus
-
Constructor Summary
Constructors Constructor Description DefaultSpdyRstStreamFrame(int streamId, int statusCode)Creates a new instance.DefaultSpdyRstStreamFrame(int streamId, SpdyStreamStatus status)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpdyStreamStatusgetStatus()Returns the status of this frame.voidsetStatus(SpdyStreamStatus status)Sets the status of this frame.java.lang.StringtoString()-
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 Detail
-
status
private SpdyStreamStatus status
-
-
Constructor Detail
-
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
public DefaultSpdyRstStreamFrame(int streamId, SpdyStreamStatus status)Creates a new instance.- Parameters:
streamId- the Stream-ID of this framestatus- the status of this frame
-
-
Method Detail
-
getStatus
public SpdyStreamStatus getStatus()
Description copied from interface:SpdyRstStreamFrameReturns the status of this frame.- Specified by:
getStatusin interfaceSpdyRstStreamFrame
-
setStatus
public void setStatus(SpdyStreamStatus status)
Description copied from interface:SpdyRstStreamFrameSets the status of this frame.- Specified by:
setStatusin interfaceSpdyRstStreamFrame
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-