org.melati.template.velocity
Class HttpServletRequestWrap

Package class diagram package HttpServletRequestWrap
java.lang.Object
  extended by org.melati.util.DelegatedHttpServletRequest
      extended by 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.


Field Summary
 
Fields inherited from class org.melati.util.DelegatedHttpServletRequest
peer
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
HttpServletRequestWrap(javax.servlet.http.HttpServletRequest peer)
          Constructor.
 
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
 

Constructor Detail

HttpServletRequestWrap

public HttpServletRequestWrap(javax.servlet.http.HttpServletRequest peer)
Constructor.

Parameters:
peer - HttpServletRequest object to wrap
Method Detail

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.