Package com.adobe.granite.rest
Class Constants
java.lang.Object
com.adobe.granite.rest.Constants
Constants provides various constants.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringContent type application/jsonstatic final StringContent type multipart/form-datastatic final StringContent type application/octet-streamstatic final StringContent type application/vnd.siren+jsonstatic final StringContent type text/htmlstatic final StringContent type application/x-www-form-urlencodedstatic final StringDefault response charsetstatic final StringService registration property defining the type of ResourceProvider representing an API end point.static final StringJSON file extension.static final StringLimit request parameter name.static final StringOffset request parameter name.static final StringShow all properties request parameter name.static final StringShow property request parameter name.static final StringDeprecated.static final StringDefault property name for properties of typeInputStream.static final StringProperty name for the actual stream for properties of typeInputStream.static final StringProperty name for the mimetype for properties of typeInputStream.static final StringProperty name for the file name for properties of typeInputStream.static final StringDeprecated.has been replaced byPN_FILE_NAME -
Method Summary
-
Field Details
-
PN_FILE
Default property name for properties of typeInputStream.- See Also:
-
PN_FILE_INPUT
Property name for the actual stream for properties of typeInputStream.- See Also:
-
PN_FILE_MIMETYPE
Property name for the mimetype for properties of typeInputStream.- See Also:
-
PN_FILE_NAME
Property name for the file name for properties of typeInputStream.- See Also:
-
PN_FILENAME_POSTFIX
Deprecated.has been replaced byPN_FILE_NAMEPostfix string appended to property keys with values of typeInputStream.- See Also:
-
PN_CONTENTTYPE_POSTFIX
Deprecated.has been replaced byPN_FILE_MIMETYPEPostfix string appended to property names with values of typeInputStream.- See Also:
-
PARAM_LIMIT
Limit request parameter name.- See Also:
-
PARAM_OFFSET
Offset request parameter name.- See Also:
-
PARAM_SHOWALLPROPERTIES
Show all properties request parameter name.- See Also:
-
PARAM_SHOWPROPERTY
Show property request parameter name.- See Also:
-
CT_WWW_FORM_URLENCODED
Content type application/x-www-form-urlencoded- See Also:
-
CT_MULTIPART_FORMDATA
Content type multipart/form-data- See Also:
-
CT_JSON
Content type application/json- See Also:
-
CT_SIREN_JSON
Content type application/vnd.siren+json- See Also:
-
CT_TEXT_HTML
Content type text/html- See Also:
-
CT_OCTET_STREAM
Content type application/octet-stream- See Also:
-
EXT_JSON
JSON file extension.- See Also:
-
ENDPOINTPROVIDER_TYPE
Service registration property defining the type of ResourceProvider representing an API end point. The value is a string representing the name of the API exposed under the context path.- See Also:
-
DEFAULT_CHARSET
Default response charset- See Also:
-
PN_FILE_MIMETYPE