org.melati.template.velocity
Class HttpServletRequestWrap
java.lang.Object
org.melati.util.DelegatedHttpServletRequest
org.melati.template.velocity.HttpServletRequestWrap
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
public class HttpServletRequestWrap
- extends DelegatedHttpServletRequest
A wrapper around an HttpServletRequest.
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Method Summary |
String |
get(String name)
Accessor to allow one to retrieve the parameters. |
javax.servlet.http.HttpServletRequest |
getWrappedObject()
Accessor to allow one to retrieve the wrapped
HttpServletRequest. |
Methods inherited from class org.melati.util.DelegatedHttpServletRequest |
getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServerPort, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAttribute, setAttribute, setCharacterEncoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServletRequestWrap
public HttpServletRequestWrap(javax.servlet.http.HttpServletRequest peer)
- Constructor.
- Parameters:
peer
- HttpServletRequest object to wrap
getWrappedObject
public javax.servlet.http.HttpServletRequest getWrappedObject()
- Accessor to allow one to retrieve the wrapped
HttpServletRequest.
- Returns:
- Wrapped HttpServletRequest
get
public String get(String name)
- Accessor to allow one to retrieve the parameters.
- Returns:
- Parameter as String
Copyright © 2000-2010 PanEris. All Rights Reserved.