public class ServerResponse extends Response
Response body.| Constructor and Description |
|---|
ServerResponse(StatusLine line,
MessageHeader[] headers)
Constructs a
ServerResponseImpl by parts. |
ServerResponse(StatusLine line,
MessageHeaders headers)
Constructs a
ServerResponseImpl by parts,
with no data poster. |
ServerResponse(StatusLine line,
MessageHeaders headers,
DataPoster dataPoster)
Constructs a
ServerResponseImpl by parts. |
| Modifier and Type | Method and Description |
|---|---|
DataPoster |
getDataPoster() |
String |
toString()
Returns a debug string showing the response information contained
within.
|
getHeaders, getStatusLine, isContinuepublic ServerResponse(StatusLine line, MessageHeaders headers)
ServerResponseImpl by parts,
with no data poster.public ServerResponse(StatusLine line, MessageHeaders headers, DataPoster dataPoster)
ServerResponseImpl by parts.dataPoster - may be nullpublic ServerResponse(StatusLine line, MessageHeader[] headers)
ServerResponseImpl by parts.public DataPoster getDataPoster()
Copyright © 2012. All Rights Reserved.