public class ServletHttpRequest extends Object implements net.officefloor.plugin.socket.server.http.HttpRequest
HttpRequest wrapping a HttpServletRequest.| Constructor and Description |
|---|
ServletHttpRequest(HttpServletRequest servletRequest)
Initiate.
|
| Modifier and Type | Method and Description |
|---|---|
net.officefloor.plugin.stream.impl.ServerInputStreamImpl |
getEntity() |
List<net.officefloor.plugin.socket.server.http.HttpHeader> |
getHeaders() |
String |
getMethod() |
String |
getRequestURI() |
String |
getVersion() |
public ServletHttpRequest(HttpServletRequest servletRequest)
servletRequest - HttpServletRequest.public String getMethod()
getMethod in interface net.officefloor.plugin.socket.server.http.HttpRequestpublic String getRequestURI()
getRequestURI in interface net.officefloor.plugin.socket.server.http.HttpRequestpublic String getVersion()
getVersion in interface net.officefloor.plugin.socket.server.http.HttpRequestpublic List<net.officefloor.plugin.socket.server.http.HttpHeader> getHeaders()
getHeaders in interface net.officefloor.plugin.socket.server.http.HttpRequestpublic net.officefloor.plugin.stream.impl.ServerInputStreamImpl getEntity()
throws IOException
getEntity in interface net.officefloor.plugin.socket.server.http.HttpRequestIOExceptionCopyright © 2005–2015. All rights reserved.