info.magnolia.cms.cache
Class MockCacheRequest

java.lang.Object
  extended by info.magnolia.cms.cache.MockCacheRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

Deprecated. unused (deprecated since 3.6)

public class MockCacheRequest
extends Object
implements javax.servlet.http.HttpServletRequest

Fake request created from a real request used to generate cache content.

Author:
niko, Fabrizio Giustina

Field Summary
static Hashtable EMPTY_MAP
          Deprecated.  
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
MockCacheRequest(javax.servlet.http.HttpServletRequest request, info.magnolia.cms.core.Content node)
          Deprecated.  
 
Method Summary
 Object getAttribute(String arg0)
          Deprecated.  
 Enumeration getAttributeNames()
          Deprecated.  
 String getAuthType()
          Deprecated.  
 String getCharacterEncoding()
          Deprecated.  
 int getContentLength()
          Deprecated.  
 String getContentType()
          Deprecated.  
 String getContextPath()
          Deprecated.  
 javax.servlet.http.Cookie[] getCookies()
          Deprecated.  
 long getDateHeader(String arg0)
          Deprecated.  
 String getHeader(String arg0)
          Deprecated.  
 Enumeration getHeaderNames()
          Deprecated.  
 Enumeration getHeaders(String arg0)
          Deprecated.  
 javax.servlet.ServletInputStream getInputStream()
          Deprecated.  
 int getIntHeader(String arg0)
          Deprecated.  
 String getLocalAddr()
          Deprecated.  
 Locale getLocale()
          Deprecated.  
 Enumeration getLocales()
          Deprecated.  
 String getLocalName()
          Deprecated.  
 int getLocalPort()
          Deprecated.  
 String getMethod()
          Deprecated.  
 String getParameter(String arg0)
          Deprecated.  
 Map getParameterMap()
          Deprecated.  
 Enumeration getParameterNames()
          Deprecated.  
 String[] getParameterValues(String arg0)
          Deprecated.  
 String getPathInfo()
          Deprecated.  
 String getPathTranslated()
          Deprecated.  
 String getProtocol()
          Deprecated.  
 String getQueryString()
          Deprecated.  
 BufferedReader getReader()
          Deprecated.  
 String getRealPath(String arg0)
          Deprecated.  
 String getRemoteAddr()
          Deprecated.  
 String getRemoteHost()
          Deprecated.  
 int getRemotePort()
          Deprecated.  
 String getRemoteUser()
          Deprecated.  
 javax.servlet.RequestDispatcher getRequestDispatcher(String arg0)
          Deprecated.  
 String getRequestedSessionId()
          Deprecated.  
 String getRequestURI()
          Deprecated.  
 StringBuffer getRequestURL()
          Deprecated.  
 String getScheme()
          Deprecated.  
 String getServerName()
          Deprecated.  
 int getServerPort()
          Deprecated.  
 String getServletPath()
          Deprecated.  
 javax.servlet.http.HttpSession getSession()
          Deprecated.  
 javax.servlet.http.HttpSession getSession(boolean arg0)
          Deprecated.  
 Principal getUserPrincipal()
          Deprecated.  
 boolean isRequestedSessionIdFromCookie()
          Deprecated.  
 boolean isRequestedSessionIdFromUrl()
          Deprecated.  
 boolean isRequestedSessionIdFromURL()
          Deprecated.  
 boolean isRequestedSessionIdValid()
          Deprecated.  
 boolean isSecure()
          Deprecated.  
 boolean isUserInRole(String arg0)
          Deprecated.  
 void removeAttribute(String arg0)
          Deprecated.  
 void setAttribute(String arg0, Object arg1)
          Deprecated.  
 void setCharacterEncoding(String arg0)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_MAP

public static final Hashtable EMPTY_MAP
Deprecated. 
Constructor Detail

MockCacheRequest

public MockCacheRequest(javax.servlet.http.HttpServletRequest request,
                        info.magnolia.cms.core.Content node)
Deprecated. 
Method Detail

getAuthType

public String getAuthType()
Deprecated. 
Specified by:
getAuthType in interface javax.servlet.http.HttpServletRequest

getCookies

public javax.servlet.http.Cookie[] getCookies()
Deprecated. 
Specified by:
getCookies in interface javax.servlet.http.HttpServletRequest

getDateHeader

public long getDateHeader(String arg0)
Deprecated. 
Specified by:
getDateHeader in interface javax.servlet.http.HttpServletRequest

getHeader

public String getHeader(String arg0)
Deprecated. 
Specified by:
getHeader in interface javax.servlet.http.HttpServletRequest

getHeaders

public Enumeration getHeaders(String arg0)
Deprecated. 
Specified by:
getHeaders in interface javax.servlet.http.HttpServletRequest

getHeaderNames

public Enumeration getHeaderNames()
Deprecated. 
Specified by:
getHeaderNames in interface javax.servlet.http.HttpServletRequest

getIntHeader

public int getIntHeader(String arg0)
Deprecated. 
Specified by:
getIntHeader in interface javax.servlet.http.HttpServletRequest

getMethod

public String getMethod()
Deprecated. 
Specified by:
getMethod in interface javax.servlet.http.HttpServletRequest

getPathInfo

public String getPathInfo()
Deprecated. 
Specified by:
getPathInfo in interface javax.servlet.http.HttpServletRequest

getPathTranslated

public String getPathTranslated()
Deprecated. 
Specified by:
getPathTranslated in interface javax.servlet.http.HttpServletRequest

getContextPath

public String getContextPath()
Deprecated. 
Specified by:
getContextPath in interface javax.servlet.http.HttpServletRequest

getQueryString

public String getQueryString()
Deprecated. 
Specified by:
getQueryString in interface javax.servlet.http.HttpServletRequest

getRemoteUser

public String getRemoteUser()
Deprecated. 
Specified by:
getRemoteUser in interface javax.servlet.http.HttpServletRequest

isUserInRole

public boolean isUserInRole(String arg0)
Deprecated. 
Specified by:
isUserInRole in interface javax.servlet.http.HttpServletRequest

getUserPrincipal

public Principal getUserPrincipal()
Deprecated. 
Specified by:
getUserPrincipal in interface javax.servlet.http.HttpServletRequest

getRequestedSessionId

public String getRequestedSessionId()
Deprecated. 
Specified by:
getRequestedSessionId in interface javax.servlet.http.HttpServletRequest

getRequestURI

public String getRequestURI()
Deprecated. 
Specified by:
getRequestURI in interface javax.servlet.http.HttpServletRequest

getRequestURL

public StringBuffer getRequestURL()
Deprecated. 
Specified by:
getRequestURL in interface javax.servlet.http.HttpServletRequest

getServletPath

public String getServletPath()
Deprecated. 
Specified by:
getServletPath in interface javax.servlet.http.HttpServletRequest

getSession

public javax.servlet.http.HttpSession getSession(boolean arg0)
Deprecated. 
Specified by:
getSession in interface javax.servlet.http.HttpServletRequest

getSession

public javax.servlet.http.HttpSession getSession()
Deprecated. 
Specified by:
getSession in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdValid

public boolean isRequestedSessionIdValid()
Deprecated. 
Specified by:
isRequestedSessionIdValid in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdFromCookie

public boolean isRequestedSessionIdFromCookie()
Deprecated. 
Specified by:
isRequestedSessionIdFromCookie in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdFromURL

public boolean isRequestedSessionIdFromURL()
Deprecated. 
Specified by:
isRequestedSessionIdFromURL in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdFromUrl

public boolean isRequestedSessionIdFromUrl()
Deprecated. 

Specified by:
isRequestedSessionIdFromUrl in interface javax.servlet.http.HttpServletRequest
See Also:
HttpServletRequest.isRequestedSessionIdFromUrl()

getAttribute

public Object getAttribute(String arg0)
Deprecated. 
Specified by:
getAttribute in interface javax.servlet.ServletRequest

getAttributeNames

public Enumeration getAttributeNames()
Deprecated. 
Specified by:
getAttributeNames in interface javax.servlet.ServletRequest

getCharacterEncoding

public String getCharacterEncoding()
Deprecated. 
Specified by:
getCharacterEncoding in interface javax.servlet.ServletRequest

setCharacterEncoding

public void setCharacterEncoding(String arg0)
                          throws UnsupportedEncodingException
Deprecated. 
Specified by:
setCharacterEncoding in interface javax.servlet.ServletRequest
Throws:
UnsupportedEncodingException

getContentLength

public int getContentLength()
Deprecated. 
Specified by:
getContentLength in interface javax.servlet.ServletRequest

getContentType

public String getContentType()
Deprecated. 
Specified by:
getContentType in interface javax.servlet.ServletRequest

getInputStream

public javax.servlet.ServletInputStream getInputStream()
                                                throws IOException
Deprecated. 
Specified by:
getInputStream in interface javax.servlet.ServletRequest
Throws:
IOException

getParameter

public String getParameter(String arg0)
Deprecated. 
Specified by:
getParameter in interface javax.servlet.ServletRequest

getParameterNames

public Enumeration getParameterNames()
Deprecated. 
Specified by:
getParameterNames in interface javax.servlet.ServletRequest

getParameterValues

public String[] getParameterValues(String arg0)
Deprecated. 
Specified by:
getParameterValues in interface javax.servlet.ServletRequest

getParameterMap

public Map getParameterMap()
Deprecated. 
Specified by:
getParameterMap in interface javax.servlet.ServletRequest

getProtocol

public String getProtocol()
Deprecated. 
Specified by:
getProtocol in interface javax.servlet.ServletRequest

getScheme

public String getScheme()
Deprecated. 
Specified by:
getScheme in interface javax.servlet.ServletRequest

getServerName

public String getServerName()
Deprecated. 
Specified by:
getServerName in interface javax.servlet.ServletRequest

getServerPort

public int getServerPort()
Deprecated. 
Specified by:
getServerPort in interface javax.servlet.ServletRequest

getReader

public BufferedReader getReader()
                         throws IOException
Deprecated. 
Specified by:
getReader in interface javax.servlet.ServletRequest
Throws:
IOException

getRemoteAddr

public String getRemoteAddr()
Deprecated. 
Specified by:
getRemoteAddr in interface javax.servlet.ServletRequest

getRemoteHost

public String getRemoteHost()
Deprecated. 
Specified by:
getRemoteHost in interface javax.servlet.ServletRequest

setAttribute

public void setAttribute(String arg0,
                         Object arg1)
Deprecated. 
Specified by:
setAttribute in interface javax.servlet.ServletRequest

removeAttribute

public void removeAttribute(String arg0)
Deprecated. 
Specified by:
removeAttribute in interface javax.servlet.ServletRequest

getLocale

public Locale getLocale()
Deprecated. 
Specified by:
getLocale in interface javax.servlet.ServletRequest

getLocales

public Enumeration getLocales()
Deprecated. 
Specified by:
getLocales in interface javax.servlet.ServletRequest

isSecure

public boolean isSecure()
Deprecated. 
Specified by:
isSecure in interface javax.servlet.ServletRequest

getRequestDispatcher

public javax.servlet.RequestDispatcher getRequestDispatcher(String arg0)
Deprecated. 
Specified by:
getRequestDispatcher in interface javax.servlet.ServletRequest

getRealPath

public String getRealPath(String arg0)
Deprecated. 

Specified by:
getRealPath in interface javax.servlet.ServletRequest
See Also:
ServletRequest.getRealPath(java.lang.String)

getRemotePort

public int getRemotePort()
Deprecated. 
Specified by:
getRemotePort in interface javax.servlet.ServletRequest

getLocalName

public String getLocalName()
Deprecated. 
Specified by:
getLocalName in interface javax.servlet.ServletRequest

getLocalAddr

public String getLocalAddr()
Deprecated. 
Specified by:
getLocalAddr in interface javax.servlet.ServletRequest

getLocalPort

public int getLocalPort()
Deprecated. 
Specified by:
getLocalPort in interface javax.servlet.ServletRequest


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.