|
||||||||||
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 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 |
---|
public static final Hashtable EMPTY_MAP
Constructor Detail |
---|
public MockCacheRequest(javax.servlet.http.HttpServletRequest request, info.magnolia.cms.core.Content node)
Method Detail |
---|
public 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(String arg0)
getDateHeader
in interface javax.servlet.http.HttpServletRequest
public String getHeader(String arg0)
getHeader
in interface javax.servlet.http.HttpServletRequest
public Enumeration getHeaders(String arg0)
getHeaders
in interface javax.servlet.http.HttpServletRequest
public Enumeration getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
public int getIntHeader(String arg0)
getIntHeader
in interface javax.servlet.http.HttpServletRequest
public String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
public String getPathInfo()
getPathInfo
in interface javax.servlet.http.HttpServletRequest
public String getPathTranslated()
getPathTranslated
in interface javax.servlet.http.HttpServletRequest
public String getContextPath()
getContextPath
in interface javax.servlet.http.HttpServletRequest
public String getQueryString()
getQueryString
in interface javax.servlet.http.HttpServletRequest
public String getRemoteUser()
getRemoteUser
in interface javax.servlet.http.HttpServletRequest
public boolean isUserInRole(String arg0)
isUserInRole
in interface javax.servlet.http.HttpServletRequest
public Principal getUserPrincipal()
getUserPrincipal
in interface javax.servlet.http.HttpServletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface javax.servlet.http.HttpServletRequest
public String getRequestURI()
getRequestURI
in interface javax.servlet.http.HttpServletRequest
public StringBuffer getRequestURL()
getRequestURL
in interface javax.servlet.http.HttpServletRequest
public 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 Object getAttribute(String arg0)
getAttribute
in interface javax.servlet.ServletRequest
public Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.ServletRequest
public String getCharacterEncoding()
getCharacterEncoding
in interface javax.servlet.ServletRequest
public void setCharacterEncoding(String arg0) throws UnsupportedEncodingException
setCharacterEncoding
in interface javax.servlet.ServletRequest
UnsupportedEncodingException
public int getContentLength()
getContentLength
in interface javax.servlet.ServletRequest
public String getContentType()
getContentType
in interface javax.servlet.ServletRequest
public javax.servlet.ServletInputStream getInputStream() throws IOException
getInputStream
in interface javax.servlet.ServletRequest
IOException
public String getParameter(String arg0)
getParameter
in interface javax.servlet.ServletRequest
public Enumeration getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
public String[] getParameterValues(String arg0)
getParameterValues
in interface javax.servlet.ServletRequest
public Map getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
public String getProtocol()
getProtocol
in interface javax.servlet.ServletRequest
public String getScheme()
getScheme
in interface javax.servlet.ServletRequest
public String getServerName()
getServerName
in interface javax.servlet.ServletRequest
public int getServerPort()
getServerPort
in interface javax.servlet.ServletRequest
public BufferedReader getReader() throws IOException
getReader
in interface javax.servlet.ServletRequest
IOException
public String getRemoteAddr()
getRemoteAddr
in interface javax.servlet.ServletRequest
public String getRemoteHost()
getRemoteHost
in interface javax.servlet.ServletRequest
public void setAttribute(String arg0, Object arg1)
setAttribute
in interface javax.servlet.ServletRequest
public void removeAttribute(String arg0)
removeAttribute
in interface javax.servlet.ServletRequest
public Locale getLocale()
getLocale
in interface javax.servlet.ServletRequest
public Enumeration getLocales()
getLocales
in interface javax.servlet.ServletRequest
public boolean isSecure()
isSecure
in interface javax.servlet.ServletRequest
public javax.servlet.RequestDispatcher getRequestDispatcher(String arg0)
getRequestDispatcher
in interface javax.servlet.ServletRequest
public String getRealPath(String arg0)
getRealPath
in interface javax.servlet.ServletRequest
ServletRequest.getRealPath(java.lang.String)
public int getRemotePort()
getRemotePort
in interface javax.servlet.ServletRequest
public String getLocalName()
getLocalName
in interface javax.servlet.ServletRequest
public 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 |