public class OslcRequest extends BaseResourceRequest implements java.io.Serializable
HTTP_DELETE, HTTP_GET, HTTP_HEAD, HTTP_PATCH, HTTP_POST, HTTP_PUT
Constructor and Description |
---|
OslcRequest(javax.servlet.http.HttpServletRequest request) |
OslcRequest(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,
java.util.List<java.lang.String> resPath,
java.lang.String requestURL) |
OslcRequest(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,
java.util.List<java.lang.String> resPath,
java.lang.String requestURL,
UserInfo userInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addIDToURI(java.lang.String id) |
java.lang.String |
bindMboToSession(java.lang.String osName,
MboRemote mbo) |
OslcRequest |
copy(java.util.Map<java.lang.String,java.util.List<java.lang.String>> bulkHeaders,
java.util.Map<java.lang.String,java.lang.String[]> bulkQueryParams) |
java.util.List<java.lang.String> |
getAbsolutePath() |
java.lang.String |
getAbsoluteURI() |
java.lang.String |
getAction() |
java.lang.String |
getApiKey() |
java.lang.String |
getApps() |
java.lang.String |
getAttachmentDescription() |
java.lang.String[] |
getAttachmentDocType() |
java.lang.String |
getAttachmentEncDescription() |
java.lang.String |
getAttachmentExternalID() |
java.lang.String[] |
getCanChangeExternalStatus(java.lang.String objectName) |
java.lang.String[] |
getCanChangeMaxStatus(java.lang.String objectName) |
java.lang.String |
getContentLocationHeader() |
java.lang.String |
getCsrfToken() |
java.lang.String |
getCsrfTokenFromRequest() |
java.lang.String |
getDefaultFormat() |
java.util.Map<java.lang.String,java.lang.String> |
getDependentSubSelects() |
java.lang.String |
getDistinctClause() |
java.lang.String |
getGBFilter() |
java.lang.String |
getGroupByAttributes() |
java.lang.String |
getGroupByRange() |
java.lang.String |
getGroupByRelationProperties() |
java.lang.String |
getGroupByRelations() |
java.lang.String |
getGroupBySortOrder() |
java.lang.String |
getGroupByTemplate() |
java.lang.String |
getGuestId() |
java.lang.String |
getHeader(java.lang.String headerName) |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getLinkHeader() |
java.lang.Long |
getMaxRowStamp() |
java.lang.String |
getNpFilter() |
OslcQuery |
getOslcQuery() |
java.lang.String |
getOslcRequestURI() |
java.lang.String |
getOslcResourceURI() |
MPPartInfo |
getPart(java.lang.String partKey) |
java.lang.String |
getProcessAsSelfRefRelName() |
java.lang.String |
getQbeFilter() |
java.lang.Object |
getQueryString() |
java.lang.String |
getQueryTemplate() |
java.util.Map<java.lang.String,java.lang.String> |
getRequestFormatMimeTypeMap() |
java.lang.String |
getRequestPublicURI() |
java.lang.String |
getRequestURL() |
java.util.List<java.lang.String> |
getResourcePath() |
java.util.Map<java.lang.String,java.lang.String> |
getResourceQBE() |
java.util.Map<java.lang.String,java.lang.String> |
getResponseCookiesToSet() |
java.util.Map<java.lang.String,java.lang.String> |
getResponseFormatMimeTypeMap() |
java.lang.String |
getSavedQuery() |
java.util.Map<java.lang.String,java.lang.String> |
getSavedQueryParams() |
java.lang.String |
getSchemaOrderBy() |
java.lang.String |
getSchemaSearchTerm() |
java.lang.String |
getSelfRef() |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getSetValueEvalChild() |
java.lang.String |
getStableResourceId() |
java.util.Map<java.lang.String,java.lang.String[]> |
getSubSelectRefs() |
java.lang.String |
getTemplate() |
java.lang.String |
getTimeLineAttribute() |
java.lang.String |
getTimeLineFilter() |
java.lang.String |
getTimeLineRange() |
java.lang.String |
getTransactionId() |
UserInfo |
getUserInfo() |
java.lang.String |
getUserWhere() |
java.lang.String |
getUseView() |
boolean |
internalValues() |
void |
invalidateSession() |
void |
invlaidateSession() |
boolean |
isAction() |
boolean |
isAddAction() |
boolean |
isAddDomainMeta() |
boolean |
isAddID() |
boolean |
isAddLocalizedRep() |
boolean |
isAddQueryMeta() |
boolean |
isAddSchema() |
boolean |
isAllowedActions() |
boolean |
isAllowEvents() |
boolean |
isAllowSelfRefDup() |
boolean |
isApiCall() |
boolean |
isAsyncRequest() |
boolean |
isBatchError() |
boolean |
isBranchFilterOn() |
boolean |
isBulkOperation() |
boolean |
isChangePasswordSession() |
boolean |
isCheckEsig() |
boolean |
isClientCertMode() |
boolean |
isCollectionCount() |
boolean |
isContentLocalized() |
boolean |
isCount() |
boolean |
isCsrfSession() |
boolean |
isDistinct() |
boolean |
isDropNulls() |
boolean |
isEditMode() |
boolean |
isEnableSession() |
boolean |
isFetchModeDelta() |
boolean |
isFileLoad() |
boolean |
isGETByPOST() |
boolean |
isGroupBy() |
boolean |
isIgnoreCollectionRef() |
boolean |
isIgnoreKeyref() |
boolean |
isIgnoreRowstamp() |
boolean |
isInitiateStablePaging() |
boolean |
isInlineDoc() |
boolean |
isInMemorySort() |
boolean |
isInteractiveRequest() |
boolean |
isLeanJSON() |
boolean |
isListTemplate() |
boolean |
isLocalizedDate() |
boolean |
isLocalRef() |
boolean |
isMaxSSO() |
boolean |
isNewSession() |
boolean |
isProcessAsSelfReferencing() |
boolean |
isQueryLocalized() |
boolean |
isQueryTemplate() |
boolean |
isRegUserSession() |
boolean |
isRelatedRef() |
boolean |
isResourceMeta() |
boolean |
isSetLocalizedRep() |
boolean |
isSetValueMode() |
boolean |
isShowHidden() |
boolean |
isSubmitSession() |
boolean |
isTlModeDate() |
boolean |
isWhoAmIApi() |
byte[] |
readRequestBody() |
void |
replaceIDToURI(java.lang.String id) |
static OslcRequest |
resurrectRequest(byte[] reqBytes) |
byte[] |
serializeToBytes() |
void |
setHttpServletResponse(javax.servlet.http.HttpServletResponse response) |
void |
setInMemorySort(boolean inmemsort) |
void |
setInteractiveRequest() |
void |
setParts(java.util.Map<java.lang.String,MPPartInfo> parts) |
void |
setProcessUserInfo(UserInfo processUserInfo) |
void |
setResourcePath(java.util.List<java.lang.String> resPath) |
void |
truncateAbsolutePath(int num) |
MboRemote |
unbindMboFromSession(MboRemote mbo) |
boolean |
useFetchLimit() |
boolean |
verifyCsrfToken() |
getForUser, getMXSession, getRequestTenantCode, getRESTSession, setForUser, unbindRESTSession
getBooleanQueryParam, getClientAddr, getClientHost, getHeaderParams, getHttpMethod, getIntegerQueryParam, getPrincipal, getQueryParam, getQueryParam, getQueryParams, getRequestFormat, getRequestMIMEType, getResponseFormat, getResponseMIMEType, isDELETE, isGET, isHEAD, isPATCH, isPOST, isPUT
public OslcRequest(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, java.util.List<java.lang.String> resPath, java.lang.String requestURL) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcRequest(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, java.util.List<java.lang.String> resPath, java.lang.String requestURL, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public OslcRequest(javax.servlet.http.HttpServletRequest request) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setProcessUserInfo(UserInfo processUserInfo)
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public void setParts(java.util.Map<java.lang.String,MPPartInfo> parts)
public boolean isBranchFilterOn()
public boolean isIgnoreRowstamp()
public boolean isIgnoreKeyref()
public MPPartInfo getPart(java.lang.String partKey)
public boolean isAddSchema()
public boolean isAddAction()
public boolean isEnableSession()
public boolean isNewSession()
public boolean isAddLocalizedRep()
public java.lang.String getUseView()
public java.lang.String getApiKey()
public java.lang.String getApps()
public boolean isApiCall()
public boolean isClientCertMode()
public boolean isBatchError()
public boolean verifyCsrfToken()
public java.lang.String getCsrfTokenFromRequest()
public java.lang.String getCsrfToken()
public java.lang.String getGuestId()
public boolean isQueryLocalized()
public boolean isCsrfSession()
public boolean isProcessAsSelfReferencing()
public boolean isAllowSelfRefDup()
public java.lang.String getProcessAsSelfRefRelName()
public boolean isLocalizedDate()
public java.util.Map<java.lang.String,java.lang.String> getResponseCookiesToSet()
public byte[] serializeToBytes()
public java.lang.String getTransactionId()
public static OslcRequest resurrectRequest(byte[] reqBytes) throws java.io.IOException, MXException
java.io.IOException
MXException
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public void setInteractiveRequest() throws MXApplicationException
MXApplicationException
public boolean isFileLoad()
public boolean isAsyncRequest()
public boolean isInteractiveRequest()
public boolean isCheckEsig()
public boolean isIgnoreCollectionRef()
public boolean isInlineDoc()
public UserInfo getUserInfo()
getUserInfo
in class BaseResourceRequest
public byte[] readRequestBody() throws java.io.IOException
java.io.IOException
public void setHttpServletResponse(javax.servlet.http.HttpServletResponse response)
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
public void setInMemorySort(boolean inmemsort)
public boolean isInMemorySort()
public void invlaidateSession()
public java.lang.String bindMboToSession(java.lang.String osName, MboRemote mbo)
public java.lang.String getHeader(java.lang.String headerName)
public OslcRequest copy(java.util.Map<java.lang.String,java.util.List<java.lang.String>> bulkHeaders, java.util.Map<java.lang.String,java.lang.String[]> bulkQueryParams) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isRelatedRef()
public boolean isLocalRef()
public java.lang.String getAbsoluteURI() throws MXException
MXException
public java.lang.String getDistinctClause()
public boolean isDistinct()
public boolean isAction()
public boolean isMaxSSO()
public boolean isCollectionCount()
public java.lang.String getAction()
public java.lang.String getTemplate()
public boolean isBulkOperation()
public void setResourcePath(java.util.List<java.lang.String> resPath)
public void addIDToURI(java.lang.String id)
public void replaceIDToURI(java.lang.String id)
public java.util.List<java.lang.String> getAbsolutePath()
public void truncateAbsolutePath(int num)
public java.lang.String getRequestPublicURI()
public boolean isAllowEvents()
public boolean isListTemplate() throws MXException
MXException
public boolean isChangePasswordSession()
public boolean isRegUserSession()
public java.util.List<java.lang.String> getResourcePath()
public java.lang.String getRequestURL() throws MXException
MXException
public boolean isLeanJSON()
public java.lang.String[] getAttachmentDocType()
public java.lang.String getLinkHeader()
public java.lang.String getContentLocationHeader()
public java.lang.String getAttachmentDescription()
public java.lang.String getAttachmentEncDescription()
public java.lang.String getAttachmentExternalID()
public boolean isEditMode() throws MXException
MXException
public boolean isSetValueMode() throws MXException
MXException
public java.lang.String getSelfRef()
public boolean isShowHidden()
public boolean isDropNulls()
public java.util.Map<java.lang.String,java.lang.String> getSavedQueryParams()
public boolean isSubmitSession()
public boolean isInitiateStablePaging()
public boolean isCount()
public boolean isAllowedActions() throws MXException
MXException
public java.lang.String getSavedQuery()
public java.lang.String getOslcResourceURI()
public java.lang.String getOslcRequestURI() throws MXException
MXException
public OslcQuery getOslcQuery()
public java.util.Map<java.lang.String,java.lang.String> getResourceQBE()
public boolean isGETByPOST()
public java.util.Map<java.lang.String,java.lang.String> getResponseFormatMimeTypeMap()
getResponseFormatMimeTypeMap
in class RESTRequest
public java.util.Map<java.lang.String,java.lang.String> getRequestFormatMimeTypeMap()
getRequestFormatMimeTypeMap
in class RESTRequest
public java.lang.String getDefaultFormat()
getDefaultFormat
in class RESTRequest
public java.lang.String getStableResourceId()
public boolean useFetchLimit()
public java.lang.String getGBFilter()
public java.lang.String getGroupByAttributes()
public java.lang.String getGroupBySortOrder()
public java.lang.String getGroupByRelations()
public java.lang.String getGroupByRelationProperties()
public java.lang.String getGroupByTemplate()
public java.lang.String getGroupByRange()
public java.lang.String getQueryTemplate()
public java.lang.String getSchemaSearchTerm()
public java.lang.String getSchemaOrderBy()
public boolean isGroupBy()
public boolean isQueryTemplate()
public boolean internalValues() throws MXApplicationException
MXApplicationException
public java.util.Map<java.lang.String,java.lang.String> getDependentSubSelects() throws MXException
MXException
public java.util.Map<java.lang.String,java.lang.String[]> getSubSelectRefs()
public void invalidateSession()
public java.lang.Object getQueryString()
public java.lang.String getTimeLineAttribute()
public java.lang.String getTimeLineRange()
public boolean isSetLocalizedRep()
public java.lang.String getUserWhere()
public java.lang.Long getMaxRowStamp()
public boolean isFetchModeDelta()
public boolean isAddQueryMeta()
public java.lang.String getNpFilter()
public boolean isAddID()
public java.lang.String getTimeLineFilter()
public boolean isResourceMeta()
public boolean isContentLocalized()
public java.lang.String getQbeFilter()
public boolean isAddDomainMeta()
public java.lang.String[] getCanChangeExternalStatus(java.lang.String objectName)
public java.lang.String[] getCanChangeMaxStatus(java.lang.String objectName)
public boolean isWhoAmIApi()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getSetValueEvalChild()
public boolean isTlModeDate()