Package com.xpn.xwiki.web
Class XWikiServletRequest
- java.lang.Object
-
- javax.servlet.ServletRequestWrapper
-
- javax.servlet.http.HttpServletRequestWrapper
-
- com.xpn.xwiki.web.XWikiServletRequest
-
- All Implemented Interfaces:
XWikiRequest
,javax.servlet.http.HttpServletRequest
,javax.servlet.ServletRequest
public class XWikiServletRequest extends javax.servlet.http.HttpServletRequestWrapper implements XWikiRequest
HttpServletRequest
implementation with XWiki related specific behavior.- Version:
- $Id: ec211d482e40ff0479977a3f4dd5a14d613191f1 $
-
-
Constructor Summary
Constructors Constructor Description XWikiServletRequest(javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String name)
javax.servlet.http.Cookie
getCookie(String cookieName)
javax.servlet.http.HttpServletRequest
getHttpServletRequest()
String
getParameter(String s)
String[]
getParameterValues(String s)
String
getRemoteAddr()
String
getRemoteHost()
StringBuffer
getRequestURL()
-
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
-
Methods inherited from class javax.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getProtocol, getReader, getRealPath, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.servlet.http.HttpServletRequest
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
-
Methods inherited from interface javax.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterMap, getParameterNames, getProtocol, getReader, getRealPath, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
-
-
-
Method Detail
-
get
public String get(String name)
- Specified by:
get
in interfaceXWikiRequest
-
getHttpServletRequest
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
- Specified by:
getHttpServletRequest
in interfaceXWikiRequest
-
getCookie
public javax.servlet.http.Cookie getCookie(String cookieName)
- Specified by:
getCookie
in interfaceXWikiRequest
-
getRequestURL
public StringBuffer getRequestURL()
- Specified by:
getRequestURL
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getRequestURL
in classjavax.servlet.http.HttpServletRequestWrapper
-
getParameter
public String getParameter(String s)
- Specified by:
getParameter
in interfacejavax.servlet.ServletRequest
- Overrides:
getParameter
in classjavax.servlet.ServletRequestWrapper
-
getParameterValues
public String[] getParameterValues(String s)
- Specified by:
getParameterValues
in interfacejavax.servlet.ServletRequest
- Overrides:
getParameterValues
in classjavax.servlet.ServletRequestWrapper
-
getRemoteAddr
public String getRemoteAddr()
- Specified by:
getRemoteAddr
in interfacejavax.servlet.ServletRequest
- Overrides:
getRemoteAddr
in classjavax.servlet.ServletRequestWrapper
-
getRemoteHost
public String getRemoteHost()
- Specified by:
getRemoteHost
in interfacejavax.servlet.ServletRequest
- Overrides:
getRemoteHost
in classjavax.servlet.ServletRequestWrapper
-
-