public class ServletRequest extends AbstractRequest
Request.CacheControlRequest, Request.Depth, Request.Header, Request.MethodINFINITY| Constructor and Description |
|---|
ServletRequest(javax.servlet.http.HttpServletRequest r) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsoluteUrl()
Return the complete URL, including protocol, host and port (if specified)
and path
|
Auth |
getAuthorization() |
String |
getFromAddress() |
InputStream |
getInputStream() |
Request.Method |
getMethod() |
static javax.servlet.http.HttpServletRequest |
getRequest() |
protected Response.ContentType |
getRequestContentType() |
protected String |
getRequestHeader(Request.Header header) |
javax.servlet.http.HttpSession |
getSession() |
protected boolean |
isMultiPart() |
static void |
parseQueryString(Map<String,String> map,
String qs) |
void |
parseRequestParameters(Map<String,String> params,
Map<String,FileItem> files) |
getAbsolutePath, getAcceptEncodingHeader, getAcceptHeader, getContentLengthHeader, getContentTypeHeader, getDepthHeader, getDestinationHeader, getHostHeader, getIfHeader, getIfModifiedHeader, getLockTokenHeader, getRefererHeader, getTimeoutHeader, stripToPathpublic static javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpSession getSession()
public String getFromAddress()
protected String getRequestHeader(Request.Header header)
getRequestHeader in class AbstractRequestpublic Request.Method getMethod()
public String getAbsoluteUrl()
Requestpublic Auth getAuthorization()
public InputStream getInputStream() throws IOException
IOExceptionpublic void parseRequestParameters(Map<String,String> params, Map<String,FileItem> files) throws RequestParseException
RequestParseExceptionprotected Response.ContentType getRequestContentType()
protected boolean isMultiPart()
Copyright © 2015. All rights reserved.