|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.core.container.HstContainerURLImpl
public class HstContainerURLImpl
HstContainerURLImpl
Field Summary | |
---|---|
protected Map<String,String[]> |
actionParameterMap
|
protected String |
actionWindowReferenceNamespace
|
protected String |
characterEncoding
|
protected String |
componentRenderingReferenceNamespace
|
protected String |
contextPath
|
protected String |
hostName
|
protected Map<String,String[]> |
parameterMap
|
protected String |
pathInfo
|
protected int |
portNumber
|
protected String |
requestPath
|
protected String |
resolvedMountPath
|
protected String |
resourceId
|
protected String |
resourceWindowReferenceNamespace
|
Constructor Summary | |
---|---|
HstContainerURLImpl()
|
Method Summary | |
---|---|
Object |
clone()
|
Map<String,String[]> |
getActionParameterMap()
Returns the action parameter map. |
String |
getActionWindowReferenceNamespace()
Returns the reference namespace of the current action window if it exists. |
String |
getCharacterEncoding()
Returns the current response's character encoding. |
String |
getComponentRenderingWindowReferenceNamespace()
Returns the reference namespace of the current rendering component if it exists. |
String |
getContextPath()
Returns the current container's servlet context path. |
String |
getHostName()
Returns the host name of the request: note that with reverse proxies, this can be the original host informations requested by the client or the proxies |
Map<String,String[]> |
getParameterMap()
Returns the render parameter map. |
String |
getPathInfo()
Returns the current request's path info (part after context path and Mount path) |
int |
getPortNumber()
Returns the portnumber of the request: note that with reverse proxies, this can be the original port requested by the client or the proxies |
String |
getRequestPath()
Returns the current request after the context path but before the queryString. |
String |
getResolvedMountPath()
|
String |
getResourceId()
Returns the resource ID if the current request is for serving resource in a component window. |
String |
getResourceWindowReferenceNamespace()
Returns the reference namespace of the current resource serving window if it exists. |
void |
setActionParameter(String name,
String value)
Sets the action parameter for the target HstComponent. |
void |
setActionParameter(String name,
String[] values)
Sets the action parameter values for the target HstComponent. |
void |
setActionParameters(Map<String,String[]> parameters)
Sets the action parameter map. |
void |
setActionWindowReferenceNamespace(String actionWindowReferenceNamespace)
Sets the reference namespace of the current action window if it is necessary. |
void |
setCharacterEncoding(String characterEncoding)
|
void |
setComponentRenderingWindowReferenceNamespace(String referenceNamespace)
Sets the reference namespace of the current component rendering window if it is necessary. |
void |
setContextPath(String contextPath)
|
void |
setHostName(String hostName)
|
void |
setParameter(String name,
String value)
Sets the render parameter for a HstComponent. |
void |
setParameter(String name,
String[] values)
Sets the render parameter value array for a HstComponent. |
void |
setParameters(Map<String,String[]> parameters)
Sets the render parameter map. |
void |
setPathInfo(String pathInfo)
|
void |
setPortNumber(int portNumber)
|
void |
setRequestPath(String requestPath)
|
void |
setResolvedMountPath(String resolvedMountPath)
|
void |
setResourceId(String resourceId)
Sets the resource ID if the current request is for serving resource in a component window. |
void |
setResourceWindowReferenceNamespace(String resourceWindowReferenceNamespace)
Sets the reference namespace of the current resource serving window if it is necessary. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String characterEncoding
protected String contextPath
protected String hostName
protected String requestPath
protected String resolvedMountPath
protected String pathInfo
protected int portNumber
protected String actionWindowReferenceNamespace
protected String resourceWindowReferenceNamespace
protected String componentRenderingReferenceNamespace
protected String resourceId
protected Map<String,String[]> parameterMap
protected Map<String,String[]> actionParameterMap
Constructor Detail |
---|
public HstContainerURLImpl()
Method Detail |
---|
public String getHostName()
HstContainerURL
getHostName
in interface HstContainerURL
public void setHostName(String hostName)
public String getRequestPath()
HstContainerURL
getRequestPath
in interface HstContainerURL
public void setRequestPath(String requestPath)
public String getResolvedMountPath()
getResolvedMountPath
in interface HstContainerURL
ResolvedMount
path or null
when not yet resolvedpublic void setResolvedMountPath(String resolvedMountPath)
public int getPortNumber()
HstContainerURL
getPortNumber
in interface HstContainerURL
public void setPortNumber(int portNumber)
public void setContextPath(String contextPath)
public String getContextPath()
HstContainerURL
getContextPath
in interface HstContainerURL
public void setPathInfo(String pathInfo)
public String getPathInfo()
HstContainerURL
Mount
path)
getPathInfo
in interface HstContainerURL
null
when the resolved mount path is not yet resolvedpublic void setActionWindowReferenceNamespace(String actionWindowReferenceNamespace)
HstContainerURL
setActionWindowReferenceNamespace
in interface HstContainerURL
public String getActionWindowReferenceNamespace()
HstContainerURL
getActionWindowReferenceNamespace
in interface HstContainerURL
public void setResourceWindowReferenceNamespace(String resourceWindowReferenceNamespace)
HstContainerURL
setResourceWindowReferenceNamespace
in interface HstContainerURL
public String getResourceWindowReferenceNamespace()
HstContainerURL
getResourceWindowReferenceNamespace
in interface HstContainerURL
public String getComponentRenderingWindowReferenceNamespace()
HstContainerURL
null
getComponentRenderingWindowReferenceNamespace
in interface HstContainerURL
null
if the request is not a component rendering requestpublic void setComponentRenderingWindowReferenceNamespace(String referenceNamespace)
HstContainerURL
setComponentRenderingWindowReferenceNamespace
in interface HstContainerURL
public void setResourceId(String resourceId)
HstContainerURL
setResourceId
in interface HstContainerURL
public String getResourceId()
HstContainerURL
getResourceId
in interface HstContainerURL
public Map<String,String[]> getParameterMap()
HstContainerURL
getParameterMap
in interface HstContainerURL
public void setParameter(String name, String value)
HstContainerURL
setParameter
in interface HstContainerURL
public void setParameter(String name, String[] values)
HstContainerURL
setParameter
in interface HstContainerURL
public void setParameters(Map<String,String[]> parameters)
HstContainerURL
setParameters
in interface HstContainerURL
public Map<String,String[]> getActionParameterMap()
HstContainerURL
getActionParameterMap
in interface HstContainerURL
public void setActionParameter(String name, String value)
HstContainerURL
setActionParameter
in interface HstContainerURL
public void setActionParameter(String name, String[] values)
HstContainerURL
setActionParameter
in interface HstContainerURL
public void setActionParameters(Map<String,String[]> parameters)
HstContainerURL
setActionParameters
in interface HstContainerURL
public void setCharacterEncoding(String characterEncoding)
public String getCharacterEncoding()
HstContainerURL
getCharacterEncoding
in interface HstContainerURL
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |