org.jwall.web.http
Class HttpChunk

java.lang.Object
  extended by org.jwall.web.http.HttpMessage
      extended by org.jwall.web.http.HttpResponse
          extended by org.jwall.web.http.HttpChunk

public class HttpChunk
extends HttpResponse


Field Summary
 
Fields inherited from class org.jwall.web.http.HttpResponse
ACCEPT_RANGES, AGE, ETAG, LOCATION, PROXY_AUTHENTICATE, RETRY_AFTER, SERVER, VARY, WWW_AUTHENTICATE
 
Constructor Summary
HttpChunk(String header, ByteBuffer data)
           
 
Method Summary
 int getChunkSize()
           
 boolean isChunk()
           
 int size()
           
 
Methods inherited from class org.jwall.web.http.HttpResponse
getChannel, getCharset, getContentType, getHttpStream, getMessage, getPayload, getStatus, isChunked, isConnectionClosed, isGZipped, setBody, setChannel
 
Methods inherited from class org.jwall.web.http.HttpMessage
getBody, getBodyAsString, getHeader, getHeader, getHeaderNames, getMessageHeader, getVersion, hasBody, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpChunk

public HttpChunk(String header,
                 ByteBuffer data)
          throws ProtocolException
Throws:
ProtocolException
Method Detail

size

public int size()

getChunkSize

public int getChunkSize()

isChunk

public boolean isChunk()
Overrides:
isChunk in class HttpResponse


Copyright © 2012 jwall.org. All Rights Reserved.