Package net.officefloor.server.http
Interface HttpRequest
-
- All Known Implementing Classes:
MaterialisingHttpRequest
,SerialisableHttpRequest
public interface HttpRequest
HTTP request from theServerHttpConnection
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpRequestCookies
getCookies()
Obtains theHttpRequestCookies
.ServerInputStream
getEntity()
Obtains theServerInputStream
to the entity of the HTTP request.HttpRequestHeaders
getHeaders()
Obtains theHttpRequestHeaders
.HttpMethod
getMethod()
Obtains theHttpMethod
.java.lang.String
getUri()
Obtains the request URI as provided on the request.HttpVersion
getVersion()
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 theServerInputStream
to the entity of the HTTP request.- Returns:
ServerInputStream
to the entity of the HTTP request.
-
-