Package net.officefloor.server.http
Interface HttpRequest
- All Known Implementing Classes:
MaterialisingHttpRequest,SerialisableHttpRequest
public interface HttpRequest
HTTP request from the
ServerHttpConnection.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theHttpRequestCookies.Obtains theServerInputStreamto the entity of the HTTP request.Obtains theHttpRequestHeaders.Obtains theHttpMethod.getUri()Obtains the request URI as provided on the request.Obtains theHttpVersion.
-
Method Details
-
getMethod
HttpMethod getMethod()Obtains theHttpMethod.- Returns:
HttpMethod.
-
getUri
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.
-