public interface HstRequest
extends javax.servlet.http.HttpServletRequest
HstRequest defines the interface to provide client
request information to a HstComponent. The HstComponent container creates these objects and
passes them as arguments to the HstComponent's doAction,
doBeforeRender and doBeforeServeResource methods.| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_PHASE
String identifier for the HST action lifecycle phase.
|
static String |
RENDER_PHASE
String identifier for the HST render lifecycle phase.
|
static String |
RESOURCE_PHASE
String identifier for the HST resource serving lifecycle phase.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributeMap()
Returns the attribute map of this component window.
|
Map<String,Object> |
getAttributeMap(String referenceNamespace)
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()
Returns the parameter map of this component window.
|
Map<String,String[]> |
getParameterMap(String referenceNamespace)
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.
|
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRolegetAttribute, 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, setCharacterEncodingstatic final String ACTION_PHASE
static final String RENDER_PHASE
static final String RESOURCE_PHASE
HstRequestContext getRequestContext()
Map<String,String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestString getReferenceNamespace()
Map<String,String[]> getParameterMap(String referenceNamespace)
getParameterMap().referenceNamespace - Map<String,Object> getAttributeMap()
Map<String,Object> getAttributeMap(String referenceNamespace)
String getResourceID()
String getLifecyclePhase()
#ACTION_PHASE}, {@link #RENDER_PHASE}, and {@link #RESOURCE_PHASE}.Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.