public class ServletRequest extends AbstractRequest
Request.CacheControlRequest, Request.Depth, Request.Header, Request.MethodINFINITY| Constructor and Description |
|---|
ServletRequest(javax.servlet.http.HttpServletRequest r,
javax.servlet.ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsoluteUrl() |
Auth |
getAuthorization() |
Cookie |
getCookie(String name) |
List<Cookie> |
getCookies() |
String |
getFromAddress() |
Map<String,String> |
getHeaders() |
InputStream |
getInputStream() |
Locale |
getLocale() |
Request.Method |
getMethod() |
String |
getRemoteAddr() |
static javax.servlet.http.HttpServletRequest |
getRequest() |
protected Response.ContentType |
getRequestContentType() |
String |
getRequestHeader(Request.Header header) |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
static javax.servlet.ServletContext |
getTLServletContext() |
protected boolean |
isMultiPart() |
static void |
parseQueryString(Map<String,String> map,
String qs) |
void |
parseRequestParameters(Map<String,String> params,
Map<String,FileItem> files) |
void |
setAuthorization(Auth auth) |
static BeanCookie |
toBeanCookie(javax.servlet.http.Cookie c) |
getAbsolutePath, getAcceptEncodingHeader, getAcceptHeader, getAcceptLanguage, getAttributes, getContentLengthHeader, getContentRangeHeader, getContentTypeHeader, getDepthHeader, getDestinationHeader, getExpectHeader, getFiles, getHostHeader, getIfHeader, getIfMatchHeader, getIfModifiedHeader, getIfNoneMatchHeader, getIfRangeHeader, getLockTokenHeader, getOriginHeader, getOverwriteHeader, getParams, getRangeHeader, getRefererHeader, getTimeoutHeader, getUserAgentHeader, stripToPathpublic ServletRequest(javax.servlet.http.HttpServletRequest r,
javax.servlet.ServletContext servletContext)
public static BeanCookie toBeanCookie(javax.servlet.http.Cookie c)
public static javax.servlet.http.HttpServletRequest getRequest()
public static javax.servlet.ServletContext getTLServletContext()
public javax.servlet.http.HttpSession getSession()
public String getFromAddress()
public String getRequestHeader(Request.Header header)
getRequestHeader in interface RequestgetRequestHeader in class AbstractRequestpublic Request.Method getMethod()
public String getAbsoluteUrl()
public Auth getAuthorization()
public void setAuthorization(Auth auth)
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()
public String getRemoteAddr()
public javax.servlet.ServletContext getServletContext()
public Locale getLocale()
getLocale in interface RequestgetLocale in class AbstractRequestCopyright © 2021 McEvoy Software Ltd. All rights reserved.