servlet Namespace

Namespace URI: http://www.xchain.org/servlet/1.0

This namespace provides commands to access data related to the servlet request and response cycle.

Available Commands

forward

Attributes
NameDescriptionTypeDefault ValueJava Return Type
pathorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
servlet-contextorg.xchain.annotations.AttributeType.JXPATH_VALUE$servlet:contextServletContext
responseorg.xchain.annotations.AttributeType.JXPATH_VALUE$servlet:responseServletResponse
requestorg.xchain.annotations.AttributeType.JXPATH_VALUE$servlet:requestServletRequest

get-cookie

Attributes
NameDescriptionTypeDefault ValueJava Return Type
nameorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
requestorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AHttpServletRequest
variableorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
Base class to provide simple string value existence and email string validation.

redirect

Attributes
NameDescriptionTypeDefault ValueJava Return Type
pathorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
responseorg.xchain.annotations.AttributeType.JXPATH_VALUE$servlet:responseHttpServletResponse

result

Attributes
NameDescriptionTypeDefault ValueJava Return Type
media-typeThe media type for the response.org.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
resultThe location of the ServletResponse.org.xchain.annotations.AttributeType.JXPATH_VALUE$servlet:responseServletResponse
disable-cachingThe flag to disable response caching.org.xchain.annotations.AttributeType.JXPATH_VALUE\false\Boolean
requestorg.xchain.annotations.AttributeType.JXPATH_VALUE$servlet:requestServletRequest
Set the current Pipeline result to be written out to a ServletResponse. If the media-type attribute is not specified then the media type of the current Pipeline will be used. If the Pipeline does not specify a media type and the media-type attribute is not specified then the media type will default to text/html .
<xchain:result xmlns:xchain="http://www.xchain.org/container/1.0"/>

set-cookie

Attributes
NameDescriptionTypeDefault ValueJava Return Type
nameorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
valueorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
pathorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
domainorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AString
maxAgeorg.xchain.annotations.AttributeType.JXPATH_VALUEN/Aint
responseorg.xchain.annotations.AttributeType.JXPATH_VALUEN/AHttpServletResponse
Base class to provide simple string value existence and email string validation.