public class SpdyFrame extends Object
Modifier and Type | Field and Description |
---|---|
int |
associated |
byte[] |
data |
int |
endData
end of data in the buffer.
|
static byte[] |
HTTP11 |
int |
nvCount |
int |
off |
static byte[] |
OK200 |
int |
pri |
static byte[] |
STATUS |
SpdyStream |
stream |
int |
streamId |
int |
type |
static byte[] |
VERSION |
Constructor and Description |
---|
SpdyFrame(int size) |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(byte[] nameB,
byte[] valueB) |
void |
addHeader(byte[] nameB,
String value) |
void |
addHeader(String name,
String value) |
void |
advance(int cnt) |
void |
append(byte[] buf,
int soff,
int len) |
void |
append16(int v) |
void |
append32(int v) |
boolean |
closed() |
int |
getDataSize() |
void |
getHeaders(Map<String,String> resHeaders) |
void |
halfClose() |
void |
headerName(byte[] buf,
int soff,
int len) |
void |
headerValue(byte[] buf,
int soff,
int len) |
boolean |
isData() |
boolean |
isHalfClose() |
boolean |
parse() |
int |
read16() |
int |
readByte() |
void |
recyle() |
int |
remaining() |
int |
serializeHead() |
String |
toString() |
public static final byte[] STATUS
public static final byte[] VERSION
public static final byte[] HTTP11
public static final byte[] OK200
public byte[] data
public int off
public int endData
public int type
public int streamId
public int pri
public int associated
public int nvCount
public SpdyStream stream
public int getDataSize()
public void recyle()
public int serializeHead()
public boolean parse()
public boolean isHalfClose()
public void halfClose()
public boolean closed()
public void append32(int v)
public void append16(int v)
public void append(byte[] buf, int soff, int len)
public void headerValue(byte[] buf, int soff, int len)
public void headerName(byte[] buf, int soff, int len)
public void addHeader(byte[] nameB, String value)
public void addHeader(byte[] nameB, byte[] valueB)
public int read16()
public int readByte()
public int remaining()
public void advance(int cnt)
public boolean isData()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.