public class BaseHttpEntity
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
content |
protected Http2Headers |
headers |
static java.lang.String |
REQUEST_ID |
Constructor and Description |
---|
BaseHttpEntity() |
BaseHttpEntity(Http2Headers headers,
byte[] content) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent() |
int |
getH2StreamId() |
Http2Headers |
getHeaders() |
java.lang.String |
getRequestId() |
void |
setContent(byte[] content) |
void |
setH2StreamId(int h2StreamId) |
void |
setHeaders(Http2Headers headers) |
void |
setRequestId(java.lang.String id) |
public static final java.lang.String REQUEST_ID
protected Http2Headers headers
protected byte[] content
public BaseHttpEntity()
public BaseHttpEntity(Http2Headers headers, byte[] content)
public Http2Headers getHeaders()
public void setHeaders(Http2Headers headers)
public java.lang.String getRequestId()
public void setRequestId(java.lang.String id)
public void setContent(byte[] content)
public byte[] getContent()
public int getH2StreamId()
public void setH2StreamId(int h2StreamId)