Class Constants


  • public final class Constants
    extends java.lang.Object
    Constants provides various constants.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CT_JSON
      Content type application/json
      static java.lang.String CT_MULTIPART_FORMDATA
      Content type multipart/form-data
      static java.lang.String CT_OCTET_STREAM
      Content type application/octet-stream
      static java.lang.String CT_SIREN_JSON
      Content type application/vnd.siren+json
      static java.lang.String CT_TEXT_HTML
      Content type text/html
      static java.lang.String CT_WWW_FORM_URLENCODED
      Content type application/x-www-form-urlencoded
      static java.lang.String DEFAULT_CHARSET
      Default response charset
      static java.lang.String ENDPOINTPROVIDER_TYPE
      Service registration property defining the type of ResourceProvider representing an API end point.
      static java.lang.String EXT_JSON
      JSON file extension.
      static java.lang.String PARAM_LIMIT
      Limit request parameter name.
      static java.lang.String PARAM_OFFSET
      Offset request parameter name.
      static java.lang.String PARAM_SHOWALLPROPERTIES
      Show all properties request parameter name.
      static java.lang.String PARAM_SHOWPROPERTY
      Show property request parameter name.
      static java.lang.String PN_CONTENTTYPE_POSTFIX
      Deprecated.
      has been replaced by PN_FILE_MIMETYPE
      static java.lang.String PN_FILE
      Default property name for properties of type InputStream.
      static java.lang.String PN_FILE_INPUT
      Property name for the actual stream for properties of type InputStream.
      static java.lang.String PN_FILE_MIMETYPE
      Property name for the mimetype for properties of type InputStream.
      static java.lang.String PN_FILE_NAME
      Property name for the file name for properties of type InputStream.
      static java.lang.String PN_FILENAME_POSTFIX
      Deprecated.
      has been replaced by PN_FILE_NAME
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PN_FILE

        public static final java.lang.String PN_FILE
        Default property name for properties of type InputStream.
        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 type InputStream.
        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 type InputStream.
        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 type InputStream.
        See Also:
        Constant Field Values
      • PN_FILENAME_POSTFIX

        public static final java.lang.String PN_FILENAME_POSTFIX
        Deprecated.
        has been replaced by PN_FILE_NAME
        Postfix string appended to property keys with values of type InputStream.
        See Also:
        Constant Field Values
      • PN_CONTENTTYPE_POSTFIX

        public static final java.lang.String PN_CONTENTTYPE_POSTFIX
        Deprecated.
        has been replaced by PN_FILE_MIMETYPE
        Postfix string appended to property names with values of type InputStream.
        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