|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.plugin.socket.server.http.conversation.impl.HttpRequestImpl
public class HttpRequestImpl
HttpRequest implementation.
| Constructor Summary | |
|---|---|
HttpRequestImpl(String method,
String requestURI,
String httpVersion,
List<HttpHeader> headers,
InputBufferStream body)
Initiate. |
|
| Method Summary | |
|---|---|
InputBufferStream |
getBody()
Obtains the InputBufferStream to the body of the HTTP request. |
List<HttpHeader> |
getHeaders()
Obtains the HttpHeader instances in the order they appear on the
request. |
String |
getMethod()
Obtains the HTTP method. |
String |
getRequestURI()
Obtains the Request URI as provided on the request. |
String |
getVersion()
Obtains the HTTP version of the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestImpl(String method,
String requestURI,
String httpVersion,
List<HttpHeader> headers,
InputBufferStream body)
method - Method.requestURI - Request URI.httpVersion - HTTP version.headers - HttpHeader instances.body - InputBufferStream to the body.| Method Detail |
|---|
public String getMethod()
HttpRequest
getMethod in interface HttpRequestpublic String getRequestURI()
HttpRequest
getRequestURI in interface HttpRequestpublic String getVersion()
HttpRequest
getVersion in interface HttpRequestpublic List<HttpHeader> getHeaders()
HttpRequestHttpHeader instances in the order they appear on the
request.
getHeaders in interface HttpRequestHttpHeader instances in the order they appear on the
request.public InputBufferStream getBody()
HttpRequestInputBufferStream to the body of the HTTP request.
getBody in interface HttpRequestInputBufferStream to the body of the HTTP request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||