|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.mock.core.component.MockHstRequestBase
org.hippoecm.hst.mock.core.component.MockHstRequest
public class MockHstRequest
Field Summary |
---|
Fields inherited from interface org.hippoecm.hst.core.component.HstRequest |
---|
ACTION_PHASE, RENDER_PHASE, RESOURCE_PHASE |
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
MockHstRequest()
|
Method Summary | |
---|---|
Map<String,Object> |
getAttributeMap()
Returns the attribute map of this component window. |
Map<String,Object> |
getAttributeMap(String referencePath)
Returns the attribute map of the specified reference namespace component window. |
String |
getLifecyclePhase()
Returns the lifecycle phase of the current HST request. |
Map<String,String[]> |
getParameterMap(String referencePath)
Returns the parameter map of the specified reference namespace component window. |
String |
getReferenceNamespace()
The reference namespace of the component window. |
HstRequestContext |
getRequestContext()
Returns the current request context |
String |
getResourceID()
Returns the resource ID which was set by the resource HST URL. |
void |
setAttributeMap(String referencePath,
Map<String,Object> attrMap)
|
void |
setLifecyclePhase(String lifecyclePhase)
|
void |
setParameterMap(String referencePath,
Map<String,String[]> paramMap)
|
void |
setReferenceNamespace(String referenceNamespace)
|
void |
setReferencePath(String referencePath)
|
void |
setRequestContext(HstRequestContext requestContext)
|
void |
setResourceID(String resourceId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hippoecm.hst.core.component.HstRequest |
---|
getParameterMap |
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, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
Constructor Detail |
---|
public MockHstRequest()
Method Detail |
---|
public void setReferencePath(String referencePath)
public Map<String,Object> getAttributeMap()
HstRequest
getAttributeMap
in interface HstRequest
public void setAttributeMap(String referencePath, Map<String,Object> attrMap)
public Map<String,Object> getAttributeMap(String referencePath)
HstRequest
getAttributeMap
in interface HstRequest
public void setParameterMap(String referencePath, Map<String,String[]> paramMap)
public Map<String,String[]> getParameterMap(String referencePath)
HstRequest
HstRequest.getParameterMap()
.
getParameterMap
in interface HstRequest
public void setRequestContext(HstRequestContext requestContext)
public HstRequestContext getRequestContext()
HstRequest
getRequestContext
in interface HstRequest
public void setResourceID(String resourceId)
public String getResourceID()
HstRequest
getResourceID
in interface HstRequest
public String getReferenceNamespace()
HstRequest
getReferenceNamespace
in interface HstRequest
public void setReferenceNamespace(String referenceNamespace)
public String getLifecyclePhase()
HstRequest
getLifecyclePhase
in interface HstRequest
#ACTION_PHASE}, {@link #RENDER_PHASE}, and {@link #RESOURCE_PHASE}.
public void setLifecyclePhase(String lifecyclePhase)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |