|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpConversation
HTTP conversation.
| Method Summary | |
|---|---|
HttpManagedObject |
addRequest(String method,
String requestURI,
String httpVersion,
List<HttpHeader> headers,
InputBufferStream body)
Adds a HttpRequest to the conversation. |
void |
parseFailure(HttpRequestParseException failure,
boolean isCloseConnection)
Handles a failure in parsing a HttpRequest. |
| Method Detail |
|---|
HttpManagedObject addRequest(String method,
String requestURI,
String httpVersion,
List<HttpHeader> headers,
InputBufferStream body)
HttpRequest to the conversation.
method - Method.requestURI - Request URI.httpVersion - HTTP Version.headers - HttpHeader instances.body - InputBufferStream to the contents of the
HttpRequest.
HttpManagedObject to process the HttpRequest.
void parseFailure(HttpRequestParseException failure,
boolean isCloseConnection)
throws IOException
HttpRequest.
failure - Failure in parsing a HttpRequest.isCloseConnection - Flags to close the Connection once the
HttpRequestParseException has been processed.
IOException - If fails to write response regarding the
HttpRequestParseException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||