Package com.adobe.granite.rest
Class Constants
- java.lang.Object
 - 
- com.adobe.granite.rest.Constants
 
 
- 
public final class Constants extends java.lang.ObjectConstantsprovides various constants. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCT_JSONContent type application/jsonstatic java.lang.StringCT_MULTIPART_FORMDATAContent type multipart/form-datastatic java.lang.StringCT_OCTET_STREAMContent type application/octet-streamstatic java.lang.StringCT_SIREN_JSONContent type application/vnd.siren+jsonstatic java.lang.StringCT_TEXT_HTMLContent type text/htmlstatic java.lang.StringCT_WWW_FORM_URLENCODEDContent type application/x-www-form-urlencodedstatic java.lang.StringDEFAULT_CHARSETDefault response charsetstatic java.lang.StringENDPOINTPROVIDER_TYPEService registration property defining the type of ResourceProvider representing an API end point.static java.lang.StringEXT_JSONJSON file extension.static java.lang.StringPARAM_LIMITLimit request parameter name.static java.lang.StringPARAM_OFFSETOffset request parameter name.static java.lang.StringPARAM_SHOWALLPROPERTIESShow all properties request parameter name.static java.lang.StringPARAM_SHOWPROPERTYShow property request parameter name.static java.lang.StringPN_CONTENTTYPE_POSTFIXDeprecated.has been replaced byPN_FILE_MIMETYPEstatic java.lang.StringPN_FILEDefault property name for properties of typeInputStream.static java.lang.StringPN_FILE_INPUTProperty name for the actual stream for properties of typeInputStream.static java.lang.StringPN_FILE_MIMETYPEProperty name for the mimetype for properties of typeInputStream.static java.lang.StringPN_FILE_NAMEProperty name for the file name for properties of typeInputStream.static java.lang.StringPN_FILENAME_POSTFIXDeprecated.has been replaced byPN_FILE_NAME 
 - 
 
- 
- 
Field Detail
- 
PN_FILE
public static final java.lang.String PN_FILE
Default property name for properties of typeInputStream.- See Also:
 - Constant Field Values
 
 
- 
PN_FILE_INPUT
public static final java.lang.String PN_FILE_INPUT
Property name for the actual stream for properties of typeInputStream.- See Also:
 - Constant Field Values
 
 
- 
PN_FILE_MIMETYPE
public static final java.lang.String PN_FILE_MIMETYPE
Property name for the mimetype for properties of typeInputStream.- See Also:
 - Constant Field Values
 
 
- 
PN_FILE_NAME
public static final java.lang.String PN_FILE_NAME
Property name for the file name for properties of typeInputStream.- See Also:
 - Constant Field Values
 
 
- 
PN_FILENAME_POSTFIX
public static final java.lang.String PN_FILENAME_POSTFIX
Deprecated.has been replaced byPN_FILE_NAMEPostfix string appended to property keys with values of typeInputStream.- See Also:
 - Constant Field Values
 
 
- 
PN_CONTENTTYPE_POSTFIX
public static final java.lang.String PN_CONTENTTYPE_POSTFIX
Deprecated.has been replaced byPN_FILE_MIMETYPEPostfix string appended to property names with values of typeInputStream.- See Also:
 - Constant Field Values
 
 
- 
PARAM_LIMIT
public static final java.lang.String PARAM_LIMIT
Limit request parameter name.- See Also:
 - Constant Field Values
 
 
- 
PARAM_OFFSET
public static final java.lang.String PARAM_OFFSET
Offset request parameter name.- See Also:
 - Constant Field Values
 
 
- 
PARAM_SHOWALLPROPERTIES
public static final java.lang.String PARAM_SHOWALLPROPERTIES
Show all properties request parameter name.- See Also:
 - Constant Field Values
 
 
- 
PARAM_SHOWPROPERTY
public static final java.lang.String PARAM_SHOWPROPERTY
Show property request parameter name.- See Also:
 - Constant Field Values
 
 
- 
CT_WWW_FORM_URLENCODED
public static final java.lang.String CT_WWW_FORM_URLENCODED
Content type application/x-www-form-urlencoded- See Also:
 - Constant Field Values
 
 
- 
CT_MULTIPART_FORMDATA
public static final java.lang.String CT_MULTIPART_FORMDATA
Content type multipart/form-data- See Also:
 - Constant Field Values
 
 
- 
CT_JSON
public static final java.lang.String CT_JSON
Content type application/json- See Also:
 - Constant Field Values
 
 
- 
CT_SIREN_JSON
public static final java.lang.String CT_SIREN_JSON
Content type application/vnd.siren+json- See Also:
 - Constant Field Values
 
 
- 
CT_TEXT_HTML
public static final java.lang.String CT_TEXT_HTML
Content type text/html- See Also:
 - Constant Field Values
 
 
- 
CT_OCTET_STREAM
public static final java.lang.String CT_OCTET_STREAM
Content type application/octet-stream- See Also:
 - Constant Field Values
 
 
- 
EXT_JSON
public static final java.lang.String EXT_JSON
JSON file extension.- See Also:
 - Constant Field Values
 
 
- 
ENDPOINTPROVIDER_TYPE
public static final java.lang.String 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:
 - Constant Field Values
 
 
- 
DEFAULT_CHARSET
public static final java.lang.String DEFAULT_CHARSET
Default response charset- See Also:
 - Constant Field Values
 
 
 - 
 
 -