public abstract class BaseResourceRequest extends RESTRequest
HTTP_DELETE, HTTP_GET, HTTP_HEAD, HTTP_PATCH, HTTP_POST, HTTP_PUT
Constructor and Description |
---|
BaseResourceRequest(javax.servlet.http.HttpServletRequest request) |
BaseResourceRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers,
java.util.Map<java.lang.String,java.lang.String[]> queryParams,
java.lang.String httpMethod,
java.lang.String clientAddr,
java.lang.String clientHost) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getForUser() |
MXSession |
getMXSession() |
java.lang.String |
getRequestTenantCode() |
BaseRESTSession |
getRESTSession() |
UserInfo |
getUserInfo() |
void |
setForUser(java.lang.String forUser) |
void |
unbindRESTSession() |
getBooleanQueryParam, getClientAddr, getClientHost, getDefaultFormat, getHeaderParams, getHttpMethod, getIntegerQueryParam, getPrincipal, getQueryParam, getQueryParam, getQueryParams, getRequestFormat, getRequestFormatMimeTypeMap, getRequestMIMEType, getResponseFormat, getResponseFormatMimeTypeMap, getResponseMIMEType, isDELETE, isGET, isHEAD, isPATCH, isPOST, isPUT
public BaseResourceRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers, java.util.Map<java.lang.String,java.lang.String[]> queryParams, java.lang.String httpMethod, java.lang.String clientAddr, java.lang.String clientHost)
public BaseResourceRequest(javax.servlet.http.HttpServletRequest request) throws MXApplicationException
MXApplicationException
public BaseRESTSession getRESTSession()
public void unbindRESTSession()
public MXSession getMXSession()
public UserInfo getUserInfo()
public java.lang.String getRequestTenantCode()
public void setForUser(java.lang.String forUser)
public java.lang.String getForUser()