|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.noderunner.http.Response
net.noderunner.http.ServerResponse
public class ServerResponse
Contains the contents of an HTTP response message.
In RFC 2616 terms, this object represents data found in the
Response body.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
DataPoster |
getDataPoster()
|
java.lang.String |
toString()
Returns a debug string showing the response information contained within. |
| Methods inherited from class net.noderunner.http.Response |
|---|
getHeaders, getStatusLine, isContinue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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 null
public ServerResponse(StatusLine line,
MessageHeader[] headers)
ServerResponseImpl by parts.
| Method Detail |
|---|
public DataPoster getDataPoster()
public java.lang.String toString()
toString in class Response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||