SpdySynStreamFrame implementation.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private byte | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | DefaultSpdySynStreamFrame(int
the Stream-ID of this frame streamId, int the Associated-To-Stream-ID of this frame associatedStreamId, byte the priority of the stream priority)Creates a new instance. |
| public | DefaultSpdySynStreamFrame(int
the Stream-ID of this frame streamId, int the Associated-To-Stream-ID of this frame associatedStreamId, byte the priority of the stream priority, boolean validate the header names and values when adding them to the validateHeaders)SpdyHeadersCreates a new instance. |
| associatedStreamId | back to summary |
|---|---|
| private int associatedStreamId | |
| priority | back to summary |
|---|---|
| private byte priority | |
| unidirectional | back to summary |
|---|---|
| private boolean unidirectional | |
| DefaultSpdySynStreamFrame | back to summary |
|---|---|
| public DefaultSpdySynStreamFrame(int streamId, int associatedStreamId, byte priority) Creates a new instance.
| |
| DefaultSpdySynStreamFrame | back to summary |
|---|---|
| public DefaultSpdySynStreamFrame(int streamId, int associatedStreamId, byte priority, boolean validateHeaders) Creates a new instance.
| |
| associatedStreamId | back to summary |
|---|---|
| public int associatedStreamId() Implements io. Doc from io. Returns the Associated-To-Stream-ID of this frame.
| |
| isUnidirectional | back to summary |
|---|---|
| public boolean isUnidirectional() Implements io. Doc from io. Returns
| |
| priority | back to summary |
|---|---|
| public byte priority() Implements io. Doc from io. Returns the priority of the stream.
| |
| setAssociatedStreamId | back to summary |
|---|---|
| public SpdySynStreamFrame setAssociatedStreamId(int associatedStreamId) Implements io. Doc from io. Sets the Associated-To-Stream-ID of this frame. The Associated-To-Stream-ID cannot be negative.
| |
| setInvalid | back to summary |
|---|---|
| public SpdySynStreamFrame setInvalid() Overrides io. Implements io. Doc from io. Marks this header block as invalid.
| |
| setLast | back to summary |
|---|---|
| public SpdySynStreamFrame setLast(boolean last) Overrides io. Implements io. Doc from io. Sets if this frame is the last frame to be transmitted on the stream.
| |
| setPriority | back to summary |
|---|---|
| public SpdySynStreamFrame setPriority(byte priority) Implements io. Doc from io. Sets the priority of the stream. The priority must be between 0 and 7 inclusive.
| |
| setStreamId | back to summary |
|---|---|
| public SpdySynStreamFrame setStreamId(int streamId) Overrides io. Implements io. Doc from io. Sets the Stream-ID of this frame. The Stream-ID must be positive.
| |
| setUnidirectional | back to summary |
|---|---|
| public SpdySynStreamFrame setUnidirectional(boolean unidirectional) Implements io. Doc from io. Sets if the stream created with this frame is to be considered half-closed to the receiver.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |