public class HttpChunk extends HttpResponse
ACCEPT_RANGES, AGE, channel, ETAG, LOCATION, PROXY_AUTHENTICATE, RETRY_AFTER, SERVER, VARY, WWW_AUTHENTICATEbody, header, version| Constructor and Description |
|---|
HttpChunk(String header,
ByteBuffer data) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChunkSize() |
boolean |
isChunk() |
protected void |
parseStartLine(String line)
This method must be overwritten
|
int |
size() |
getChannel, getCharset, getContentType, getHttpStream, getMessage, getPayload, getStatus, isChunked, isConnectionClosed, isGZipped, setBody, setChannelgetBody, getBodyAsString, getHeader, getHeader, getHeaderNames, getMessageHeader, getVersion, hasBody, toStringpublic HttpChunk(String header, ByteBuffer data) throws ProtocolException
ProtocolExceptionprotected void parseStartLine(String line) throws MessageFormatException
HttpMessageparseStartLine in class HttpResponseMessageFormatExceptionpublic int size()
public int getChunkSize()
public boolean isChunk()
isChunk in class HttpResponseCopyright © 2014 jwall.org. All Rights Reserved.