com.day.cq.wcm.foundation.stencil
Class StencilRequestWrapper

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
              extended by com.day.cq.wcm.foundation.stencil.StencilRequestWrapper
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest, org.apache.sling.api.SlingHttpServletRequest

public class StencilRequestWrapper
extends org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper


Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
StencilRequestWrapper(org.apache.sling.api.resource.Resource stencil, org.apache.sling.api.SlingHttpServletRequest wrappedRequest)
          Create a wrapper for the supplied wrappedRequest
 
Method Summary
 org.apache.sling.api.resource.Resource getResource()
           
 org.apache.sling.api.resource.ResourceResolver getResourceResolver()
           
 
Methods inherited from class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
getCookie, getRequestDispatcher, getRequestDispatcher, getRequestDispatcher, getRequestParameter, getRequestParameterMap, getRequestParameters, getRequestPathInfo, getRequestProgressTracker, getResourceBundle, getResourceBundle, getResponseContentType, getResponseContentTypes, getSlingRequest
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
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
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

StencilRequestWrapper

public StencilRequestWrapper(org.apache.sling.api.resource.Resource stencil,
                             org.apache.sling.api.SlingHttpServletRequest wrappedRequest)
Create a wrapper for the supplied wrappedRequest

Parameters:
stencil - to use the hierarchical data from
wrappedRequest - the delegatee
Method Detail

getResource

public org.apache.sling.api.resource.Resource getResource()
Specified by:
getResource in interface org.apache.sling.api.SlingHttpServletRequest
Overrides:
getResource in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper

getResourceResolver

public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
Specified by:
getResourceResolver in interface org.apache.sling.api.SlingHttpServletRequest
Overrides:
getResourceResolver in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper


Copyright © 2009 Day Management AG. All Rights Reserved.