|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.cache.MockCacheRequest
public class MockCacheRequest
Fake request created from a real request used to generate cache content.
Field Summary | |
---|---|
static java.util.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 | |
---|---|
java.lang.Object |
getAttribute(java.lang.String arg0)
Deprecated. |
java.util.Enumeration |
getAttributeNames()
Deprecated. |
java.lang.String |
getAuthType()
Deprecated. |
java.lang.String |
getCharacterEncoding()
Deprecated. |
int |
getContentLength()
Deprecated. |
java.lang.String |
getContentType()
Deprecated. |
java.lang.String |
getContextPath()
Deprecated. |
javax.servlet.http.Cookie[] |
getCookies()
Deprecated. |
long |
getDateHeader(java.lang.String arg0)
Deprecated. |
java.lang.String |
getHeader(java.lang.String arg0)
Deprecated. |
java.util.Enumeration |
getHeaderNames()
Deprecated. |
java.util.Enumeration |
getHeaders(java.lang.String arg0)
Deprecated. |
javax.servlet.ServletInputStream |
getInputStream()
Deprecated. |
int |
getIntHeader(java.lang.String arg0)
Deprecated. |
java.lang.String |
getLocalAddr()
Deprecated. |
java.util.Locale |
getLocale()
Deprecated. |
java.util.Enumeration |
getLocales()
Deprecated. |
java.lang.String |
getLocalName()
Deprecated. |
int |
getLocalPort()
Deprecated. |
java.lang.String |
getMethod()
Deprecated. |
java.lang.String |
getParameter(java.lang.String arg0)
Deprecated. |
java.util.Map |
getParameterMap()
Deprecated. |
java.util.Enumeration |
getParameterNames()
Deprecated. |
java.lang.String[] |
getParameterValues(java.lang.String arg0)
Deprecated. |
java.lang.String |
getPathInfo()
Deprecated. |
java.lang.String |
getPathTranslated()
Deprecated. |
java.lang.String |
getProtocol()
Deprecated. |
java.lang.String |
getQueryString()
Deprecated. |
java.io.BufferedReader |
getReader()
Deprecated. |
java.lang.String |
getRealPath(java.lang.String arg0)
Deprecated. |
java.lang.String |
getRemoteAddr()
Deprecated. |
java.lang.String |
getRemoteHost()
Deprecated. |
int |
getRemotePort()
Deprecated. |
java.lang.String |
getRemoteUser()
Deprecated. |
javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String arg0)
Deprecated. |
java.lang.String |
getRequestedSessionId()
Deprecated. |
java.lang.String |
getRequestURI()
Deprecated. |
java.lang.StringBuffer |
getRequestURL()
Deprecated. |
java.lang.String |
getScheme()
Deprecated. |
java.lang.String |
getServerName()
Deprecated. |
int |
getServerPort()
Deprecated. |
java.lang.String |
getServletPath()
Deprecated. |
javax.servlet.http.HttpSession |
getSession()
Deprecated. |
javax.servlet.http.HttpSession |
getSession(boolean arg0)
Deprecated. |
java.security.Principal |
getUserPrincipal()
Deprecated. |
boolean |
isRequestedSessionIdFromCookie()
Deprecated. |
boolean |
isRequestedSessionIdFromUrl()
Deprecated. |
boolean |
isRequestedSessionIdFromURL()
Deprecated. |
boolean |
isRequestedSessionIdValid()
Deprecated. |
boolean |
isSecure()
Deprecated. |
boolean |
isUserInRole(java.lang.String arg0)
Deprecated. |
void |
removeAttribute(java.lang.String arg0)
Deprecated. |
void |
setAttribute(java.lang.String arg0,
java.lang.Object arg1)
Deprecated. |
void |
setCharacterEncoding(java.lang.String arg0)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.Hashtable EMPTY_MAP
Constructor Detail |
---|
public MockCacheRequest(javax.servlet.http.HttpServletRequest request, info.magnolia.cms.core.Content node)
Method Detail |
---|
public java.lang.String getAuthType()
getAuthType
in interface javax.servlet.http.HttpServletRequest
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface javax.servlet.http.HttpServletRequest
public long getDateHeader(java.lang.String arg0)
getDateHeader
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getHeader(java.lang.String arg0)
getHeader
in interface javax.servlet.http.HttpServletRequest
public java.util.Enumeration getHeaders(java.lang.String arg0)
getHeaders
in interface javax.servlet.http.HttpServletRequest
public java.util.Enumeration getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
public int getIntHeader(java.lang.String arg0)
getIntHeader
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getPathInfo()
getPathInfo
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getPathTranslated()
getPathTranslated
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getContextPath()
getContextPath
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getQueryString()
getQueryString
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getRemoteUser()
getRemoteUser
in interface javax.servlet.http.HttpServletRequest
public boolean isUserInRole(java.lang.String arg0)
isUserInRole
in interface javax.servlet.http.HttpServletRequest
public java.security.Principal getUserPrincipal()
getUserPrincipal
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getRequestedSessionId()
getRequestedSessionId
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getRequestURI()
getRequestURI
in interface javax.servlet.http.HttpServletRequest
public java.lang.StringBuffer getRequestURL()
getRequestURL
in interface javax.servlet.http.HttpServletRequest
public java.lang.String getServletPath()
getServletPath
in interface javax.servlet.http.HttpServletRequest
public javax.servlet.http.HttpSession getSession(boolean arg0)
getSession
in interface javax.servlet.http.HttpServletRequest
public javax.servlet.http.HttpSession getSession()
getSession
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl
in interface javax.servlet.http.HttpServletRequest
HttpServletRequest.isRequestedSessionIdFromUrl()
public java.lang.Object getAttribute(java.lang.String arg0)
getAttribute
in interface javax.servlet.ServletRequest
public java.util.Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.ServletRequest
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface javax.servlet.ServletRequest
public void setCharacterEncoding(java.lang.String arg0) throws java.io.UnsupportedEncodingException
setCharacterEncoding
in interface javax.servlet.ServletRequest
java.io.UnsupportedEncodingException
public int getContentLength()
getContentLength
in interface javax.servlet.ServletRequest
public java.lang.String getContentType()
getContentType
in interface javax.servlet.ServletRequest
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.servlet.ServletRequest
java.io.IOException
public java.lang.String getParameter(java.lang.String arg0)
getParameter
in interface javax.servlet.ServletRequest
public java.util.Enumeration getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
public java.lang.String[] getParameterValues(java.lang.String arg0)
getParameterValues
in interface javax.servlet.ServletRequest
public java.util.Map getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
public java.lang.String getProtocol()
getProtocol
in interface javax.servlet.ServletRequest
public java.lang.String getScheme()
getScheme
in interface javax.servlet.ServletRequest
public java.lang.String getServerName()
getServerName
in interface javax.servlet.ServletRequest
public int getServerPort()
getServerPort
in interface javax.servlet.ServletRequest
public java.io.BufferedReader getReader() throws java.io.IOException
getReader
in interface javax.servlet.ServletRequest
java.io.IOException
public java.lang.String getRemoteAddr()
getRemoteAddr
in interface javax.servlet.ServletRequest
public java.lang.String getRemoteHost()
getRemoteHost
in interface javax.servlet.ServletRequest
public void setAttribute(java.lang.String arg0, java.lang.Object arg1)
setAttribute
in interface javax.servlet.ServletRequest
public void removeAttribute(java.lang.String arg0)
removeAttribute
in interface javax.servlet.ServletRequest
public java.util.Locale getLocale()
getLocale
in interface javax.servlet.ServletRequest
public java.util.Enumeration getLocales()
getLocales
in interface javax.servlet.ServletRequest
public boolean isSecure()
isSecure
in interface javax.servlet.ServletRequest
public javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String arg0)
getRequestDispatcher
in interface javax.servlet.ServletRequest
public java.lang.String getRealPath(java.lang.String arg0)
getRealPath
in interface javax.servlet.ServletRequest
ServletRequest.getRealPath(java.lang.String)
public int getRemotePort()
getRemotePort
in interface javax.servlet.ServletRequest
public java.lang.String getLocalName()
getLocalName
in interface javax.servlet.ServletRequest
public java.lang.String getLocalAddr()
getLocalAddr
in interface javax.servlet.ServletRequest
public int getLocalPort()
getLocalPort
in interface javax.servlet.ServletRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |