Package com.thingworx.common
Class RESTAPIConstants
- java.lang.Object
-
- com.thingworx.common.RESTAPIConstants
-
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class RESTAPIConstants extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RESTAPIConstants.Characteristic
static class
RESTAPIConstants.FunctionType
static class
RESTAPIConstants.Method
static class
RESTAPIConstants.StatusCode
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCEPT_HEADER
static java.lang.String
ACTION_CHANGE_PASSWORD
static java.lang.String
ACTION_CONFIRM
static java.lang.String
ACTION_LOGIN
static java.lang.String
ACTION_LOGOUT
static java.lang.String
ATTACHMENT
static java.lang.String
AVATAR_CHARACTERISTIC
static java.lang.String
CONFIRM_PATH
static java.lang.String
CONTENT_DISPOSITION
static java.lang.String
CONTENT_LENGTH
static java.lang.String
CONTENT_TYPE
static char
CR_CHARACTER
static java.lang.String
CSRF_COOKIE_NAME
static java.lang.String
DEFAULT_ACCEPT_TYPE
static java.lang.String
DEFAULT_CONTENT_TYPE
static int
DEFAULT_FEED_ITEM_COUNT
static int
DEFAULT_ITEM_COUNT
static int
DEFAULT_SEARCH_ITEM_COUNT
static int
DEFAULT_TIMEOUT
static java.lang.String
DEFINITION_CHARACTERISTIC
static java.lang.String
DESIGNTIMEPERMISSIONCHECK_CHARACTERISTIC
static java.lang.String
FORM_CSRF_INPUT_NAME
static java.lang.String
FORM_LOGIN
static java.lang.String
FUNCTIONDEFINITIONS_CHARACTERISTIC
static java.lang.String
HEADER_AUTHENTICATE_CHALLENGE
static java.lang.String
HEADER_AUTHENTICATE_CHALLENGE_BASIC_REALM
static java.lang.String
HEADER_AUTHORIZATION
static java.lang.String
HEADER_AUTHORIZATION_BASIC
static java.lang.String
HEADER_AUTHORIZATION_MOBILE
static java.lang.String
HEADER_CONTENT_DISPOSITION
static java.lang.String
HEADER_COOKIE
static java.lang.String
HEADER_IF_NONE_MATCH
static java.lang.String
HEADER_IF_RANGE
static java.lang.String
HEADER_MOBILE_AUTH_REQUIRED
static java.lang.String
HEADER_TWX_MOBILE_TOKEN
static java.lang.String
HEADER_X_FORWARDED_FOR1
static java.lang.String
HEADER_X_FORWARDED_FOR2
static java.lang.String
HEADER_X_REQUESTED_WITH
static char
HTML_TAG_START_CHARACTER
static java.lang.String
IMPLEMENTINGTHINGS_CHARACTERISTIC
static java.lang.String
IMPLEMENTINGTHINGSWITHDATA_CHARACTERISTIC
static java.lang.String
INSTANCEEVENTDEFINITIONS_CHARACTERISTIC
static java.lang.String
INSTANCEMETADATA_CHARACTERISTIC
static java.lang.String
INSTANCEMETADATAWITHPERMISSIONS_CHARACTERISTIC
static java.lang.String
INSTANCEPROPERTYDEFINITIONS_CHARACTERISTIC
static java.lang.String
INSTANCESERVICEDEFINITIONS_CHARACTERISTIC
static java.lang.String
INTERNAL_ERROR_MESSAGE
static java.lang.String
LAST_ORGANIZATION_COOKIE_NAME
static java.lang.String
LOCALHOST_IPV4
static java.lang.String
LOCALHOST_STRING
static java.lang.String
LOGIN_JSP_SUFFIX
static int
MAX_SEARCH_API_ITEM_COUNT
static java.lang.String
MESSAGE_FIELD_NAME
static java.lang.String
METADATA_CHARACTERISTIC
static java.lang.String
METADATAWITHPERMISSIONS_CHARACTERISTIC
static java.lang.String
MIME_TYPE_APP_XML
static java.lang.String
MIME_TYPE_ATOM
static java.lang.String
MIME_TYPE_BINARY
static java.lang.String
MIME_TYPE_BMP
static java.lang.String
MIME_TYPE_CSV
static java.lang.String
MIME_TYPE_FORMDATA
static java.lang.String
MIME_TYPE_FORMENCODED
static java.lang.String
MIME_TYPE_GIF
static java.lang.String
MIME_TYPE_HTML
static java.lang.String
MIME_TYPE_JPG
static java.lang.String
MIME_TYPE_JSON
static java.lang.String
MIME_TYPE_JSONCOMPRESSED
static java.lang.String
MIME_TYPE_OCTETSTREAM
static java.lang.String
MIME_TYPE_PDF
static java.lang.String
MIME_TYPE_PNG
static java.lang.String
MIME_TYPE_RSS
static java.lang.String
MIME_TYPE_SVG
static java.lang.String
MIME_TYPE_TEXT
static java.lang.String
MIME_TYPE_UNKNOWNIMAGE
static java.lang.String
MIME_TYPE_WINDOWS_ICON
static java.lang.String
MIME_TYPE_XML
static java.lang.String
MIME_TYPE_ZIP
static char
NL_CHARACTER
static java.lang.String
ORGANIZATION_NAME
static java.lang.String
PARAM_APIMETHOD
static java.lang.String
PARAM_APPKEY
static java.lang.String
PARAM_AUTHTYPE
static java.lang.String
PARAM_CHARACTERISTIC
static java.lang.String
PARAM_ENTITYNAME
static java.lang.String
PARAM_ENTITYTYPE
static java.lang.String
PARAM_EXPIRES
static java.lang.String
PARAM_FILTER_BASED_ON_SCOPE
static java.lang.String
PARAM_IF_MODIFIED_SINCE
static java.lang.String
PARAM_IF_UNMODIFIED_SINCE
static java.lang.String
PARAM_INCLUDE_ADDITIONAL_FIELDS
static java.lang.String
PARAM_LAST_MODIFIED
static java.lang.String
PARAM_MAXITEMS
static java.lang.String
PARAM_METADATA
static java.lang.String
PARAM_METHOD
static java.lang.String
PARAM_NAMEMASK
static java.lang.String
PARAM_PASSWORD
static java.lang.String
PARAM_POSTPARAMETER
static java.lang.String
PARAM_REASON
static java.lang.String
PARAM_SEARCHASPECTS
static java.lang.String
PARAM_SEARCHTAGS
static java.lang.String
PARAM_TARGET
static java.lang.String
PARAM_THINGNAME
static java.lang.String
PARAM_TWSR
static java.lang.String
PARAM_USE_SESSION
static java.lang.String
PARAM_USERID
static java.lang.String
PARAM_USERNAME
static java.lang.String
PARAM_WITHPERMISSIONS
static java.lang.String
PARAMETER_DELIMITER
static java.lang.String
PARAMETER_VALUE_DELIMITER
static java.lang.String
PREVIEW_CHARACTERISTIC
static java.lang.String
PROTOCOL_FTP
static java.lang.String
PROTOCOL_HTTP
static java.lang.String
PROTOCOL_HTTPS
static java.lang.String
PROTOCOL_SFTP
static java.lang.String
PROTOCOL_SSL
static java.lang.String
PROTOCOL_TCP
static java.lang.String
PROTOCOL_WS
static java.lang.String
PROTOCOL_WSS
static java.lang.String
QUERY_DELIMITER
static java.lang.String
RELATIVE_PATH_STRING
static java.lang.String
RESET_PATH
static int
SESSION_DEFAULT_TIMEOUT
static int
SESSION_FOREVER
static java.lang.String
SUCCESS_MESSAGE
static java.lang.String
SUMMARY_CHARACTERISTIC
static java.util.HashSet<java.lang.String>
SUPPORTED_ACCEPT_TYPES
static java.util.HashSet<java.lang.String>
SUPPORTED_CONTENT_TYPES
static java.util.HashSet<java.lang.String>
SUPPORTED_IMAGE_TYPES
static java.util.HashSet<java.lang.String>
SUPPORTED_MEDIA_ENTITY_CONTENT_TYPES
static java.lang.String
THINGWORX_CHANGEPASSWORD_PAGE
static java.lang.String
THINGWORX_FORM_CURRENT_PASSWORD
static java.lang.String
THINGWORX_FORM_EMAIL
static java.lang.String
THINGWORX_FORM_FIRSTNAME
static java.lang.String
THINGWORX_FORM_LASTNAME
static java.lang.String
THINGWORX_FORM_NEW_PASSWORD
static java.lang.String
THINGWORX_FORM_NEW_PASSWORD_CONFIRM
static java.lang.String
THINGWORX_FORM_ORIGINAL_URI_FIELD
static java.lang.String
THINGWORX_FORM_PASSWORD
static java.lang.String
THINGWORX_FORM_USERNAME
static java.lang.String
THINGWORX_HOME_URI
static java.lang.String
THINGWORX_JSESSIONID
static java.lang.String
THINGWORX_LOGIN_ERROR_MESSAGE
static java.lang.String
THINGWORX_LOGIN_PAGE
static java.lang.String
THINGWORX_MAIN_PAGE
static java.lang.String
THINGWORX_MEDIAENTITIES
static java.lang.String
THINGWORX_METRIC_URI
static java.lang.String
THINGWORX_PASSWORD_CHANGE_MESSAGE
static java.lang.String
THINGWORX_SESSIONID
static java.lang.String
TRACE_PARAMETER
static java.lang.String
TWX_PUT_AS_PUT
static java.lang.String
UNSUPPORTED_ERROR_MESSAGE
static java.lang.String
UTF8_ENCODING
static java.lang.String
VISIBILITYPERMISSIONCHECK_CHARACTERISTIC
static java.lang.String
WEBAPP_NAME
static java.lang.String
WEBAPP_PATH_DELIMITER
static java.lang.String
WEBAPP_SCHEME_DELIMITER
static java.lang.String
WEBSOCKET_API_ENDPOINT
static java.lang.String
WEBSOCKET_RELATIVE_URI
-
Constructor Summary
Constructors Constructor Description RESTAPIConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
buildBaseURL(java.lang.String servletName)
static java.lang.String
createURI(java.lang.String entityType, java.lang.String entityName, java.lang.String characteristic, java.lang.String target)
static RESTAPIConstants.Method
getMethod(java.lang.String method)
static java.lang.String
getMethodName(byte method)
static java.lang.String
getSupportedAcceptType(java.lang.String type)
static java.lang.String
getSupportedContentType(java.lang.String type)
static java.nio.charset.Charset
getUTF8Charset()
static boolean
isError(int statusCode)
static boolean
isImageType(java.lang.String type)
static boolean
isOK(int statusCode)
static boolean
isRequest(byte code)
static boolean
isResponse(byte code)
static java.lang.String[]
splitURI(java.lang.String uri)
-
-
-
Field Detail
-
UTF8_ENCODING
public static final java.lang.String UTF8_ENCODING
- See Also:
- Constant Field Values
-
PROTOCOL_HTTP
public static final java.lang.String PROTOCOL_HTTP
- See Also:
- Constant Field Values
-
PROTOCOL_HTTPS
public static final java.lang.String PROTOCOL_HTTPS
- See Also:
- Constant Field Values
-
PROTOCOL_TCP
public static final java.lang.String PROTOCOL_TCP
- See Also:
- Constant Field Values
-
PROTOCOL_SSL
public static final java.lang.String PROTOCOL_SSL
- See Also:
- Constant Field Values
-
PROTOCOL_FTP
public static final java.lang.String PROTOCOL_FTP
- See Also:
- Constant Field Values
-
PROTOCOL_SFTP
public static final java.lang.String PROTOCOL_SFTP
- See Also:
- Constant Field Values
-
PROTOCOL_WS
public static final java.lang.String PROTOCOL_WS
- See Also:
- Constant Field Values
-
PROTOCOL_WSS
public static final java.lang.String PROTOCOL_WSS
- See Also:
- Constant Field Values
-
WEBAPP_NAME
public static final java.lang.String WEBAPP_NAME
- See Also:
- Constant Field Values
-
FORM_LOGIN
public static final java.lang.String FORM_LOGIN
- See Also:
- Constant Field Values
-
CONFIRM_PATH
public static final java.lang.String CONFIRM_PATH
- See Also:
- Constant Field Values
-
RESET_PATH
public static final java.lang.String RESET_PATH
- See Also:
- Constant Field Values
-
WEBAPP_PATH_DELIMITER
public static final java.lang.String WEBAPP_PATH_DELIMITER
- See Also:
- Constant Field Values
-
WEBAPP_SCHEME_DELIMITER
public static final java.lang.String WEBAPP_SCHEME_DELIMITER
- See Also:
- Constant Field Values
-
QUERY_DELIMITER
public static final java.lang.String QUERY_DELIMITER
- See Also:
- Constant Field Values
-
PARAMETER_DELIMITER
public static final java.lang.String PARAMETER_DELIMITER
- See Also:
- Constant Field Values
-
PARAMETER_VALUE_DELIMITER
public static final java.lang.String PARAMETER_VALUE_DELIMITER
- See Also:
- Constant Field Values
-
WEBSOCKET_API_ENDPOINT
public static final java.lang.String WEBSOCKET_API_ENDPOINT
- See Also:
- Constant Field Values
-
WEBSOCKET_RELATIVE_URI
public static final java.lang.String WEBSOCKET_RELATIVE_URI
- See Also:
- Constant Field Values
-
LOGIN_JSP_SUFFIX
public static final java.lang.String LOGIN_JSP_SUFFIX
- See Also:
- Constant Field Values
-
PARAM_METHOD
public static final java.lang.String PARAM_METHOD
- See Also:
- Constant Field Values
-
PARAM_MAXITEMS
public static final java.lang.String PARAM_MAXITEMS
- See Also:
- Constant Field Values
-
PARAM_SEARCHTAGS
public static final java.lang.String PARAM_SEARCHTAGS
- See Also:
- Constant Field Values
-
PARAM_SEARCHASPECTS
public static final java.lang.String PARAM_SEARCHASPECTS
- See Also:
- Constant Field Values
-
PARAM_NAMEMASK
public static final java.lang.String PARAM_NAMEMASK
- See Also:
- Constant Field Values
-
PARAM_METADATA
public static final java.lang.String PARAM_METADATA
- See Also:
- Constant Field Values
-
PARAM_ENTITYTYPE
public static final java.lang.String PARAM_ENTITYTYPE
- See Also:
- Constant Field Values
-
PARAM_ENTITYNAME
public static final java.lang.String PARAM_ENTITYNAME
- See Also:
- Constant Field Values
-
PARAM_THINGNAME
public static final java.lang.String PARAM_THINGNAME
- See Also:
- Constant Field Values
-
PARAM_CHARACTERISTIC
public static final java.lang.String PARAM_CHARACTERISTIC
- See Also:
- Constant Field Values
-
PARAM_TARGET
public static final java.lang.String PARAM_TARGET
- See Also:
- Constant Field Values
-
PARAM_APIMETHOD
public static final java.lang.String PARAM_APIMETHOD
- See Also:
- Constant Field Values
-
PARAM_WITHPERMISSIONS
public static final java.lang.String PARAM_WITHPERMISSIONS
- See Also:
- Constant Field Values
-
PARAM_POSTPARAMETER
public static final java.lang.String PARAM_POSTPARAMETER
- See Also:
- Constant Field Values
-
PARAM_TWSR
public static final java.lang.String PARAM_TWSR
- See Also:
- Constant Field Values
-
ORGANIZATION_NAME
public static final java.lang.String ORGANIZATION_NAME
- See Also:
- Constant Field Values
-
LOCALHOST_STRING
public static final java.lang.String LOCALHOST_STRING
- See Also:
- Constant Field Values
-
LOCALHOST_IPV4
public static final java.lang.String LOCALHOST_IPV4
- See Also:
- Constant Field Values
-
SESSION_FOREVER
public static final int SESSION_FOREVER
- See Also:
- Constant Field Values
-
SESSION_DEFAULT_TIMEOUT
public static final int SESSION_DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
THINGWORX_SESSIONID
public static final java.lang.String THINGWORX_SESSIONID
- See Also:
- Constant Field Values
-
THINGWORX_JSESSIONID
public static final java.lang.String THINGWORX_JSESSIONID
- See Also:
- Constant Field Values
-
HEADER_AUTHENTICATE_CHALLENGE
public static final java.lang.String HEADER_AUTHENTICATE_CHALLENGE
- See Also:
- Constant Field Values
-
HEADER_AUTHENTICATE_CHALLENGE_BASIC_REALM
public static final java.lang.String HEADER_AUTHENTICATE_CHALLENGE_BASIC_REALM
- See Also:
- Constant Field Values
-
HEADER_AUTHORIZATION
public static final java.lang.String HEADER_AUTHORIZATION
- See Also:
- Constant Field Values
-
HEADER_AUTHORIZATION_BASIC
public static final java.lang.String HEADER_AUTHORIZATION_BASIC
- See Also:
- Constant Field Values
-
HEADER_AUTHORIZATION_MOBILE
public static final java.lang.String HEADER_AUTHORIZATION_MOBILE
- See Also:
- Constant Field Values
-
HEADER_TWX_MOBILE_TOKEN
public static final java.lang.String HEADER_TWX_MOBILE_TOKEN
- See Also:
- Constant Field Values
-
HEADER_MOBILE_AUTH_REQUIRED
public static final java.lang.String HEADER_MOBILE_AUTH_REQUIRED
- See Also:
- Constant Field Values
-
HEADER_X_FORWARDED_FOR1
public static final java.lang.String HEADER_X_FORWARDED_FOR1
- See Also:
- Constant Field Values
-
HEADER_X_FORWARDED_FOR2
public static final java.lang.String HEADER_X_FORWARDED_FOR2
- See Also:
- Constant Field Values
-
HEADER_X_REQUESTED_WITH
public static final java.lang.String HEADER_X_REQUESTED_WITH
- See Also:
- Constant Field Values
-
HEADER_COOKIE
public static final java.lang.String HEADER_COOKIE
- See Also:
- Constant Field Values
-
HEADER_IF_NONE_MATCH
public static final java.lang.String HEADER_IF_NONE_MATCH
- See Also:
- Constant Field Values
-
HEADER_IF_RANGE
public static final java.lang.String HEADER_IF_RANGE
- See Also:
- Constant Field Values
-
HEADER_CONTENT_DISPOSITION
public static final java.lang.String HEADER_CONTENT_DISPOSITION
- See Also:
- Constant Field Values
-
PARAM_AUTHTYPE
public static final java.lang.String PARAM_AUTHTYPE
- See Also:
- Constant Field Values
-
PARAM_USERID
public static final java.lang.String PARAM_USERID
- See Also:
- Constant Field Values
-
PARAM_USERNAME
public static final java.lang.String PARAM_USERNAME
- See Also:
- Constant Field Values
-
PARAM_PASSWORD
public static final java.lang.String PARAM_PASSWORD
- See Also:
- Constant Field Values
-
PARAM_APPKEY
public static final java.lang.String PARAM_APPKEY
- See Also:
- Constant Field Values
-
PARAM_USE_SESSION
public static final java.lang.String PARAM_USE_SESSION
- See Also:
- Constant Field Values
-
PARAM_IF_MODIFIED_SINCE
public static final java.lang.String PARAM_IF_MODIFIED_SINCE
- See Also:
- Constant Field Values
-
PARAM_IF_UNMODIFIED_SINCE
public static final java.lang.String PARAM_IF_UNMODIFIED_SINCE
- See Also:
- Constant Field Values
-
PARAM_LAST_MODIFIED
public static final java.lang.String PARAM_LAST_MODIFIED
- See Also:
- Constant Field Values
-
TWX_PUT_AS_PUT
public static final java.lang.String TWX_PUT_AS_PUT
- See Also:
- Constant Field Values
-
PARAM_REASON
public static final java.lang.String PARAM_REASON
- See Also:
- Constant Field Values
-
PARAM_EXPIRES
public static final java.lang.String PARAM_EXPIRES
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_ADDITIONAL_FIELDS
public static final java.lang.String PARAM_INCLUDE_ADDITIONAL_FIELDS
- See Also:
- Constant Field Values
-
PARAM_FILTER_BASED_ON_SCOPE
public static final java.lang.String PARAM_FILTER_BASED_ON_SCOPE
- See Also:
- Constant Field Values
-
ACTION_LOGIN
public static final java.lang.String ACTION_LOGIN
- See Also:
- Constant Field Values
-
ACTION_CONFIRM
public static final java.lang.String ACTION_CONFIRM
- See Also:
- Constant Field Values
-
ACTION_CHANGE_PASSWORD
public static final java.lang.String ACTION_CHANGE_PASSWORD
- See Also:
- Constant Field Values
-
ACTION_LOGOUT
public static final java.lang.String ACTION_LOGOUT
- See Also:
- Constant Field Values
-
THINGWORX_LOGIN_PAGE
public static final java.lang.String THINGWORX_LOGIN_PAGE
- See Also:
- Constant Field Values
-
THINGWORX_MAIN_PAGE
public static final java.lang.String THINGWORX_MAIN_PAGE
- See Also:
- Constant Field Values
-
THINGWORX_CHANGEPASSWORD_PAGE
public static final java.lang.String THINGWORX_CHANGEPASSWORD_PAGE
- See Also:
- Constant Field Values
-
THINGWORX_FORM_USERNAME
public static final java.lang.String THINGWORX_FORM_USERNAME
- See Also:
- Constant Field Values
-
THINGWORX_FORM_PASSWORD
public static final java.lang.String THINGWORX_FORM_PASSWORD
- See Also:
- Constant Field Values
-
THINGWORX_FORM_FIRSTNAME
public static final java.lang.String THINGWORX_FORM_FIRSTNAME
- See Also:
- Constant Field Values
-
THINGWORX_FORM_LASTNAME
public static final java.lang.String THINGWORX_FORM_LASTNAME
- See Also:
- Constant Field Values
-
THINGWORX_FORM_EMAIL
public static final java.lang.String THINGWORX_FORM_EMAIL
- See Also:
- Constant Field Values
-
THINGWORX_FORM_CURRENT_PASSWORD
public static final java.lang.String THINGWORX_FORM_CURRENT_PASSWORD
- See Also:
- Constant Field Values
-
THINGWORX_FORM_NEW_PASSWORD
public static final java.lang.String THINGWORX_FORM_NEW_PASSWORD
- See Also:
- Constant Field Values
-
THINGWORX_FORM_NEW_PASSWORD_CONFIRM
public static final java.lang.String THINGWORX_FORM_NEW_PASSWORD_CONFIRM
- See Also:
- Constant Field Values
-
THINGWORX_FORM_ORIGINAL_URI_FIELD
public static final java.lang.String THINGWORX_FORM_ORIGINAL_URI_FIELD
- See Also:
- Constant Field Values
-
THINGWORX_LOGIN_ERROR_MESSAGE
public static final java.lang.String THINGWORX_LOGIN_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
THINGWORX_PASSWORD_CHANGE_MESSAGE
public static final java.lang.String THINGWORX_PASSWORD_CHANGE_MESSAGE
- See Also:
- Constant Field Values
-
THINGWORX_HOME_URI
public static final java.lang.String THINGWORX_HOME_URI
- See Also:
- Constant Field Values
-
THINGWORX_METRIC_URI
public static final java.lang.String THINGWORX_METRIC_URI
- See Also:
- Constant Field Values
-
THINGWORX_MEDIAENTITIES
public static final java.lang.String THINGWORX_MEDIAENTITIES
- See Also:
- Constant Field Values
-
LAST_ORGANIZATION_COOKIE_NAME
public static final java.lang.String LAST_ORGANIZATION_COOKIE_NAME
- See Also:
- Constant Field Values
-
CSRF_COOKIE_NAME
public static final java.lang.String CSRF_COOKIE_NAME
- See Also:
- Constant Field Values
-
FORM_CSRF_INPUT_NAME
public static final java.lang.String FORM_CSRF_INPUT_NAME
- See Also:
- Constant Field Values
-
INTERNAL_ERROR_MESSAGE
public static final java.lang.String INTERNAL_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
UNSUPPORTED_ERROR_MESSAGE
public static final java.lang.String UNSUPPORTED_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NAME
public static final java.lang.String MESSAGE_FIELD_NAME
- See Also:
- Constant Field Values
-
SUCCESS_MESSAGE
public static final java.lang.String SUCCESS_MESSAGE
- See Also:
- Constant Field Values
-
MIME_TYPE_XML
public static final java.lang.String MIME_TYPE_XML
- See Also:
- Constant Field Values
-
MIME_TYPE_HTML
public static final java.lang.String MIME_TYPE_HTML
- See Also:
- Constant Field Values
-
MIME_TYPE_ATOM
public static final java.lang.String MIME_TYPE_ATOM
- See Also:
- Constant Field Values
-
MIME_TYPE_RSS
public static final java.lang.String MIME_TYPE_RSS
- See Also:
- Constant Field Values
-
MIME_TYPE_JSON
public static final java.lang.String MIME_TYPE_JSON
- See Also:
- Constant Field Values
-
MIME_TYPE_JSONCOMPRESSED
public static final java.lang.String MIME_TYPE_JSONCOMPRESSED
- See Also:
- Constant Field Values
-
MIME_TYPE_CSV
public static final java.lang.String MIME_TYPE_CSV
- See Also:
- Constant Field Values
-
MIME_TYPE_FORMENCODED
public static final java.lang.String MIME_TYPE_FORMENCODED
- See Also:
- Constant Field Values
-
MIME_TYPE_FORMDATA
public static final java.lang.String MIME_TYPE_FORMDATA
- See Also:
- Constant Field Values
-
MIME_TYPE_SVG
public static final java.lang.String MIME_TYPE_SVG
- See Also:
- Constant Field Values
-
MIME_TYPE_PNG
public static final java.lang.String MIME_TYPE_PNG
- See Also:
- Constant Field Values
-
MIME_TYPE_ZIP
public static final java.lang.String MIME_TYPE_ZIP
- See Also:
- Constant Field Values
-
MIME_TYPE_JPG
public static final java.lang.String MIME_TYPE_JPG
- See Also:
- Constant Field Values
-
MIME_TYPE_GIF
public static final java.lang.String MIME_TYPE_GIF
- See Also:
- Constant Field Values
-
MIME_TYPE_BMP
public static final java.lang.String MIME_TYPE_BMP
- See Also:
- Constant Field Values
-
MIME_TYPE_WINDOWS_ICON
public static final java.lang.String MIME_TYPE_WINDOWS_ICON
- See Also:
- Constant Field Values
-
MIME_TYPE_PDF
public static final java.lang.String MIME_TYPE_PDF
- See Also:
- Constant Field Values
-
MIME_TYPE_UNKNOWNIMAGE
public static final java.lang.String MIME_TYPE_UNKNOWNIMAGE
- See Also:
- Constant Field Values
-
MIME_TYPE_BINARY
public static final java.lang.String MIME_TYPE_BINARY
- See Also:
- Constant Field Values
-
MIME_TYPE_OCTETSTREAM
public static final java.lang.String MIME_TYPE_OCTETSTREAM
- See Also:
- Constant Field Values
-
MIME_TYPE_TEXT
public static final java.lang.String MIME_TYPE_TEXT
- See Also:
- Constant Field Values
-
MIME_TYPE_APP_XML
public static final java.lang.String MIME_TYPE_APP_XML
- See Also:
- Constant Field Values
-
DEFAULT_CONTENT_TYPE
public static final java.lang.String DEFAULT_CONTENT_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_ACCEPT_TYPE
public static final java.lang.String DEFAULT_ACCEPT_TYPE
- See Also:
- Constant Field Values
-
SUPPORTED_CONTENT_TYPES
public static java.util.HashSet<java.lang.String> SUPPORTED_CONTENT_TYPES
-
SUPPORTED_ACCEPT_TYPES
public static java.util.HashSet<java.lang.String> SUPPORTED_ACCEPT_TYPES
-
SUPPORTED_IMAGE_TYPES
public static java.util.HashSet<java.lang.String> SUPPORTED_IMAGE_TYPES
-
SUPPORTED_MEDIA_ENTITY_CONTENT_TYPES
public static java.util.HashSet<java.lang.String> SUPPORTED_MEDIA_ENTITY_CONTENT_TYPES
-
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
-
CONTENT_LENGTH
public static final java.lang.String CONTENT_LENGTH
- See Also:
- Constant Field Values
-
CONTENT_DISPOSITION
public static final java.lang.String CONTENT_DISPOSITION
- See Also:
- Constant Field Values
-
ATTACHMENT
public static final java.lang.String ATTACHMENT
- See Also:
- Constant Field Values
-
ACCEPT_HEADER
public static final java.lang.String ACCEPT_HEADER
- See Also:
- Constant Field Values
-
DEFAULT_ITEM_COUNT
public static final int DEFAULT_ITEM_COUNT
- See Also:
- Constant Field Values
-
MAX_SEARCH_API_ITEM_COUNT
public static final int MAX_SEARCH_API_ITEM_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_SEARCH_ITEM_COUNT
public static final int DEFAULT_SEARCH_ITEM_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_FEED_ITEM_COUNT
public static final int DEFAULT_FEED_ITEM_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
AVATAR_CHARACTERISTIC
public static final java.lang.String AVATAR_CHARACTERISTIC
- See Also:
- Constant Field Values
-
PREVIEW_CHARACTERISTIC
public static final java.lang.String PREVIEW_CHARACTERISTIC
- See Also:
- Constant Field Values
-
DEFINITION_CHARACTERISTIC
public static final java.lang.String DEFINITION_CHARACTERISTIC
- See Also:
- Constant Field Values
-
METADATA_CHARACTERISTIC
public static final java.lang.String METADATA_CHARACTERISTIC
- See Also:
- Constant Field Values
-
METADATAWITHPERMISSIONS_CHARACTERISTIC
public static final java.lang.String METADATAWITHPERMISSIONS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
INSTANCEMETADATA_CHARACTERISTIC
public static final java.lang.String INSTANCEMETADATA_CHARACTERISTIC
- See Also:
- Constant Field Values
-
INSTANCEMETADATAWITHPERMISSIONS_CHARACTERISTIC
public static final java.lang.String INSTANCEMETADATAWITHPERMISSIONS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
INSTANCESERVICEDEFINITIONS_CHARACTERISTIC
public static final java.lang.String INSTANCESERVICEDEFINITIONS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
INSTANCEPROPERTYDEFINITIONS_CHARACTERISTIC
public static final java.lang.String INSTANCEPROPERTYDEFINITIONS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
INSTANCEEVENTDEFINITIONS_CHARACTERISTIC
public static final java.lang.String INSTANCEEVENTDEFINITIONS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
FUNCTIONDEFINITIONS_CHARACTERISTIC
public static final java.lang.String FUNCTIONDEFINITIONS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
IMPLEMENTINGTHINGS_CHARACTERISTIC
public static final java.lang.String IMPLEMENTINGTHINGS_CHARACTERISTIC
- See Also:
- Constant Field Values
-
IMPLEMENTINGTHINGSWITHDATA_CHARACTERISTIC
public static final java.lang.String IMPLEMENTINGTHINGSWITHDATA_CHARACTERISTIC
- See Also:
- Constant Field Values
-
SUMMARY_CHARACTERISTIC
public static final java.lang.String SUMMARY_CHARACTERISTIC
- See Also:
- Constant Field Values
-
DESIGNTIMEPERMISSIONCHECK_CHARACTERISTIC
public static final java.lang.String DESIGNTIMEPERMISSIONCHECK_CHARACTERISTIC
- See Also:
- Constant Field Values
-
VISIBILITYPERMISSIONCHECK_CHARACTERISTIC
public static final java.lang.String VISIBILITYPERMISSIONCHECK_CHARACTERISTIC
- See Also:
- Constant Field Values
-
RELATIVE_PATH_STRING
public static final java.lang.String RELATIVE_PATH_STRING
- See Also:
- Constant Field Values
-
TRACE_PARAMETER
public static final java.lang.String TRACE_PARAMETER
- See Also:
- Constant Field Values
-
NL_CHARACTER
public static final char NL_CHARACTER
- See Also:
- Constant Field Values
-
CR_CHARACTER
public static final char CR_CHARACTER
- See Also:
- Constant Field Values
-
HTML_TAG_START_CHARACTER
public static final char HTML_TAG_START_CHARACTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
isRequest
@ThingworxExtensionApiMethod(since={6,6}) public static boolean isRequest(byte code)
-
isResponse
@ThingworxExtensionApiMethod(since={6,6}) public static boolean isResponse(byte code)
-
getUTF8Charset
@ThingworxExtensionApiMethod(since={6,6}) public static java.nio.charset.Charset getUTF8Charset()
-
getMethod
@ThingworxExtensionApiMethod(since={6,6}) public static RESTAPIConstants.Method getMethod(java.lang.String method)
-
getMethodName
@ThingworxExtensionApiMethod(since={6,6}) public static java.lang.String getMethodName(byte method)
-
getSupportedContentType
@ThingworxExtensionApiMethod(since={6,6}) public static java.lang.String getSupportedContentType(java.lang.String type)
-
isImageType
@ThingworxExtensionApiMethod(since={6,6}) public static boolean isImageType(java.lang.String type)
-
getSupportedAcceptType
@ThingworxExtensionApiMethod(since={6,6}) public static java.lang.String getSupportedAcceptType(java.lang.String type)
-
buildBaseURL
@ThingworxExtensionApiMethod(since={6,6}) public static java.lang.String buildBaseURL(java.lang.String servletName)
-
splitURI
@ThingworxExtensionApiMethod(since={6,6}) public static java.lang.String[] splitURI(java.lang.String uri)
-
createURI
@ThingworxExtensionApiMethod(since={6,6}) public static java.lang.String createURI(java.lang.String entityType, java.lang.String entityName, java.lang.String characteristic, java.lang.String target)
-
isOK
@ThingworxExtensionApiMethod(since={6,6}) public static boolean isOK(int statusCode)
-
isError
@ThingworxExtensionApiMethod(since={6,6}) public static boolean isError(int statusCode)
-
-