Constants

  • APPLICATION_FORM_URLENCODED string "application/x-www-form-urlencoded"
  • Represents the application/x-www-form-urlencoded media type.

  • APPLICATION_JSON string "application/json"
  • Represents the application/json media type.

  • APPLICATION_OCTET_STREAM string "application/octet-stream"
  • Represents the application/octet-stream media type.

  • APPLICATION_PDF string "application/pdf"
  • Represents the application/pdf media type.

  • APPLICATION_SOAP_XML string "application/soap+xml"
  • Represents the application/soap+xml media type.

  • APPLICATION_SVG_XML string "application/svg+xml"
  • Represents the application/svg+xml media type.

  • APPLICATION_XHTML_XML string "application/xhtml+xml"
  • Represents the application/xhtml+xml media type.

  • APPLICATION_XML string "application/xml"
  • Represents the application/xml media type.

  • BOUNDARY string "boundary"
  • Key name for boundary parameter in MediaType. This is needed for composite type media types.

  • CHARSET string "charset"
  • Key name for charset parameter in MediaType. This indicates the character set of the body text.

  • CONTENT_DISPOSITION string "content-disposition"
  • Represents content-disposition header name.

  • CONTENT_ID string "content-id"
  • Represents content-id header name.

  • CONTENT_LENGTH string "content-length"
  • Represents content-length header name.

  • CONTENT_TYPE string "content-type"
  • Represents content-type header name.

  • DEFAULT_CHARSET string "UTF-8"
  • Default charset to be used with MIME encoding and decoding.

  • IMAGE_GIF string "image/gif"
  • Represents the image/gif media type.

  • IMAGE_JPEG string "image/jpeg"
  • Represents the image/jpeg media type.

  • IMAGE_PNG string "image/png"
  • Represents the image/png media type.

  • MULTIPART_ALTERNATIVE string "multipart/alternative"
  • Represents the multipart/alternative media type.

  • MULTIPART_FORM_DATA string "multipart/form-data"
  • Represents the multipart/form-data media type.

  • MULTIPART_MIXED string "multipart/mixed"
  • Represents the multipart/mixed media type.

  • MULTIPART_PARALLEL string "multipart/parallel"
  • Represents the multipart/parallel media type.

    Represents the multipart/related media type.

  • START string "start"
  • Key name for start parameter in MediaType. This determines which part in the multipart message contains the payload.

  • TEXT_HTML string "text/html"
  • Represents the text/html media type.

  • TEXT_PLAIN string "text/plain"
  • Represents the text/plain media type.

  • TEXT_XML string "text/xml"
  • Represents the text/xml media type.

  • TYPE string "type"
  • Key name for type parameter in MediaType. This indicates the MIME media type of the root body part.