public class ResourceRequest extends java.lang.Object implements java.io.Serializable, RestConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HTTP_DELETE |
static java.lang.String |
HTTP_GET |
static java.lang.String |
HTTP_POST |
static java.lang.String |
HTTP_PUT |
COMPACT, DROPNULLS, ENDSWITH, EQUALS, EXACTMATCH, EXCLUDECOLS, FILTERDOMAIN, FILTERDOMAIN_ORG, FILTERDOMAIN_SITE, FORM_PARAM_ROWSTAMP, GENERIC, GLCOMP, GRATERTHAN, GRATERTHANEQUALS, INCLUDECOLS, KEYS, LANGCODE, LESSTHAN, LESSTHANEQUALS, LOCALE, LOGINID, LOGINPASSWORD, MAXAUTHTOKEN, MAXITEMS, MAXUSER, METADATA, MXRESTSESSION, NOTEQUALS, OPERATION_PARAM_NS, OPMODEOR, ORDERBY, ORDERBYASC, ORDERBYDESC, PAGE, QUERY_OPERATION, REFRESH_LOCALE, RELATED_ATTRBUTE, RELEASE_RESOURCE_REQUEST, RESOURCE_LOCATOR_ID, REST_LOGGER, RESTSESSION, RETAINMBOS, ROOTONLY, RSSTART, SESSION_OSMSGTYPE, STARTSSWITH, TENANTCODE, TIMEZONE, USE_LOCATION_FOR_CREATE, USE_SESSION_FOR_COLLECTION, USE_TOTAL_COUNT, USER_WHERE, USER_WHERE_POLICY_ALLOW, USER_WHERE_POLICY_BLOCK, USER_WHERE_POLICY_PARSE, USEROWSTAMP, VALIDATE_XML_TEXT, VERBOSE
Constructor and Description |
---|
ResourceRequest(ResourceRequest req) |
ResourceRequest(java.lang.String resourceType,
java.util.List<java.lang.String> resourcePath,
java.util.Map<java.lang.String,java.lang.String[]> queryParams,
HttpHeaders headerParams,
RESTSession session,
java.lang.String httpMethod,
java.lang.String format,
java.lang.String reqURL) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientAddr() |
java.lang.String |
getClientHost() |
java.lang.String |
getFormat() |
HttpHeaders |
getHeaderParams() |
java.lang.String |
getHttpMethod() |
MXSession |
getMXSession() |
java.util.Map<java.lang.String,java.lang.String[]> |
getQueryParams() |
java.lang.String |
getRequestURL() |
java.lang.String |
getResourceLocatorId() |
java.util.List<java.lang.String> |
getResourcePath() |
java.lang.String |
getResourceType() |
RESTSession |
getSession() |
boolean |
isDELETE() |
boolean |
isGET() |
boolean |
isPOST() |
boolean |
isPUT() |
boolean |
isReleaseResourceRequest() |
boolean |
isUseLocationForCreate() |
boolean |
isUseSessionForCollection() |
void |
setClientAddr(java.lang.String remoteAddr) |
void |
setClientHost(java.lang.String remoteHost) |
public static final java.lang.String HTTP_GET
public static final java.lang.String HTTP_POST
public static final java.lang.String HTTP_PUT
public static final java.lang.String HTTP_DELETE
public ResourceRequest(java.lang.String resourceType, java.util.List<java.lang.String> resourcePath, java.util.Map<java.lang.String,java.lang.String[]> queryParams, HttpHeaders headerParams, RESTSession session, java.lang.String httpMethod, java.lang.String format, java.lang.String reqURL)
public ResourceRequest(ResourceRequest req)
public boolean isReleaseResourceRequest()
public boolean isUseSessionForCollection()
public java.lang.String getResourceLocatorId()
public java.lang.String getRequestURL()
public java.lang.String getResourceType()
public java.lang.String getFormat()
public boolean isUseLocationForCreate()
public java.util.List<java.lang.String> getResourcePath()
public java.util.Map<java.lang.String,java.lang.String[]> getQueryParams()
public HttpHeaders getHeaderParams()
public RESTSession getSession()
public java.lang.String getHttpMethod()
public boolean isPOST()
public boolean isPUT()
public boolean isDELETE()
public boolean isGET()
public void setClientAddr(java.lang.String remoteAddr)
public java.lang.String getClientAddr()
public void setClientHost(java.lang.String remoteHost)
public java.lang.String getClientHost()
public MXSession getMXSession()