Class CMSRequest
java.lang.Object
com.netscape.cms.servlet.common.CMSRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()getExtData(String type) jakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponsejakarta.servlet.ServletConfigjakarta.servlet.ServletContextvoidsetError(EBaseException error) voidvoidsetErrorDescription(String descr) voidsetExtData(String type, String value) voidsetHttpParams(ArgBlock httpParams) set the HTTP parametersvoidsetHttpReq(jakarta.servlet.http.HttpServletRequest httpReq) set the HTTP Request object associated with this sessionvoidsetHttpResp(jakarta.servlet.http.HttpServletResponse httpResp) set the HTTP Response object which is used to create the HTTP response which is sent back to the uservoidset default CMS status according to Request status.voidvoidsetRequest(Request request) set the Request aobject associated with this sessionvoidvoidvoidsetServletConfig(jakarta.servlet.ServletConfig servletConfig) set the servlet configuration.voidsetServletContext(jakarta.servlet.ServletContext servletContext) voidSet request status.
-
Field Details
-
UNAUTHORIZED
-
SUCCESS
-
PENDING
-
SVC_PENDING
-
REJECTED
-
ERROR
-
EXCEPTION
-
-
Constructor Details
-
CMSRequest
public CMSRequest()Constructor
-
-
Method Details
-
setHttpParams
set the HTTP parameters -
setRequest
set the Request aobject associated with this session -
setHttpReq
public void setHttpReq(jakarta.servlet.http.HttpServletRequest httpReq) set the HTTP Request object associated with this session -
setHttpResp
public void setHttpResp(jakarta.servlet.http.HttpServletResponse httpResp) set the HTTP Response object which is used to create the HTTP response which is sent back to the user -
setServletConfig
public void setServletConfig(jakarta.servlet.ServletConfig servletConfig) set the servlet configuration. The servlet configuration is read from the WEB-APPS/web.xml file under the <servlet> XML definition. The parameters are delimited by init-param param-name/param-value options as described in the servlet documentation. -
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext) -
setStatus
Set request status.- Parameters:
status- request status. Allowed values are UNAUTHORIZED, SUCCESS, REJECTED, PENDING, ERROR, SVC_PENDING- Throws:
IllegalArgumentException- if status is not one of the above values
-
setError
-
setError
-
setErrorDescription
-
setResult
-
setResult
-
getHttpParams
-
getHttpReq
public jakarta.servlet.http.HttpServletRequest getHttpReq() -
getHttpResp
public jakarta.servlet.http.HttpServletResponse getHttpResp() -
getServletConfig
public jakarta.servlet.ServletConfig getServletConfig() -
getServletContext
public jakarta.servlet.ServletContext getServletContext() -
getRequest
-
getStatus
-
getError
-
getErrorDescr
-
getResult
-
getResult
-
setReason
-
getReason
-
setExtData
-
getExtData
-
getPolicyMessages
-
setIRequestStatus
set default CMS status according to Request status.- Throws:
EBaseException
-