public class DefaultSpdyRstStreamFrame extends Object implements SpdyRstStreamFrame
SpdyRstStreamFrame
implementation.Constructor and Description |
---|
DefaultSpdyRstStreamFrame(int streamId,
int statusCode)
Creates a new instance.
|
DefaultSpdyRstStreamFrame(int streamId,
SpdyStreamStatus status)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
SpdyStreamStatus |
getStatus()
Returns the status of this frame.
|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
int |
getStreamID()
Deprecated.
|
void |
setStatus(SpdyStreamStatus status)
Sets the status of this frame.
|
void |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
void |
setStreamID(int streamId)
Deprecated.
|
String |
toString() |
public DefaultSpdyRstStreamFrame(int streamId, int statusCode)
streamId
- the Stream-ID of this framestatusCode
- the Status code of this framepublic DefaultSpdyRstStreamFrame(int streamId, SpdyStreamStatus status)
streamId
- the Stream-ID of this framestatus
- the status of this frame@Deprecated public int getStreamID()
getStreamID
in interface SpdyRstStreamFrame
public int getStreamId()
SpdyRstStreamFrame
getStreamId
in interface SpdyRstStreamFrame
@Deprecated public void setStreamID(int streamId)
setStreamID
in interface SpdyRstStreamFrame
public void setStreamId(int streamId)
SpdyRstStreamFrame
setStreamId
in interface SpdyRstStreamFrame
public SpdyStreamStatus getStatus()
SpdyRstStreamFrame
getStatus
in interface SpdyRstStreamFrame
public void setStatus(SpdyStreamStatus status)
SpdyRstStreamFrame
setStatus
in interface SpdyRstStreamFrame
Copyright © 2008-2014 The Netty Project. All Rights Reserved.