public static class HttpTester.Response extends HttpTester.Message implements HttpParser.ResponseHandler<ByteBuffer>
__separators
Constructor and Description |
---|
HttpTester.Response() |
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
byte[] |
getContentBytes() |
HttpGenerator.ResponseInfo |
getInfo() |
String |
getReason() |
int |
getStatus() |
boolean |
startResponse(HttpVersion version,
int status,
String reason)
This is the method called by parser when the HTTP request line is parsed
|
String |
toString() |
badMessage, content, earlyEOF, generate, getHeaderCacheSize, getVersion, headerComplete, messageComplete, parsedHeader, setContent, setContent, setContent, setVersion, setVersion
add, add, add, add, add, addDateField, clear, contains, contains, contains, containsKey, get, get, getDateField, getField, getField, getField, getFieldNames, getFieldNamesCollection, getLongField, getQuality, getStringField, getStringField, getValues, getValues, getValuesList, iterator, put, put, put, put, put, putDateField, putDateField, putLongField, putLongField, qualityList, remove, remove, size, valueParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
badMessage, content, earlyEOF, getHeaderCacheSize, headerComplete, messageComplete, parsedHeader
public boolean startResponse(HttpVersion version, int status, String reason)
HttpParser.ResponseHandler
startResponse
in interface HttpParser.ResponseHandler<ByteBuffer>
public int getStatus()
public String getReason()
public byte[] getContentBytes()
public String getContent()
public HttpGenerator.ResponseInfo getInfo()
getInfo
in class HttpTester.Message
public String toString()
toString
in class HttpFields
Copyright © 1995-2015 Webtide. All Rights Reserved.