Package net.officefloor.server.http
Interface HttpRequest
-
- All Known Implementing Classes:
MaterialisingHttpRequest,SerialisableHttpRequest
public interface HttpRequestHTTP request from theServerHttpConnection.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpRequestCookiesgetCookies()Obtains theHttpRequestCookies.ServerInputStreamgetEntity()Obtains theServerInputStreamto the entity of the HTTP request.HttpRequestHeadersgetHeaders()Obtains theHttpRequestHeaders.HttpMethodgetMethod()Obtains theHttpMethod.java.lang.StringgetUri()Obtains the request URI as provided on the request.HttpVersiongetVersion()Obtains theHttpVersion.
-
-
-
Method Detail
-
getMethod
HttpMethod getMethod()
Obtains theHttpMethod.- Returns:
HttpMethod.
-
getUri
java.lang.String getUri()
Obtains the request URI as provided on the request.- Returns:
- Request URI as provided on the request.
-
getVersion
HttpVersion getVersion()
Obtains theHttpVersion.- Returns:
HttpVersion.
-
getHeaders
HttpRequestHeaders getHeaders()
Obtains theHttpRequestHeaders.- Returns:
HttpRequestHeaders.
-
getCookies
HttpRequestCookies getCookies()
Obtains theHttpRequestCookies.- Returns:
HttpRequestCookies.
-
getEntity
ServerInputStream getEntity()
Obtains theServerInputStreamto the entity of the HTTP request.- Returns:
ServerInputStreamto the entity of the HTTP request.
-
-