# Uses of Class
org.apache.axiom.mime.MediaType

Packages that use MediaType
Package
Description
org.apache.axiom.mime
Contains interfaces for MIME message processing.
org.apache.axiom.soap

- ## Uses of MediaType in org.apache.axiom.mime

  Fields in org.apache.axiom.mime declared as MediaType
  Modifier and Type
  Field
  Description
  `static final MediaType`
  MediaType.`APPLICATION_OCTET_STREAM`
  The media type for `application/octet-stream`.
  `static final MediaType`
  MediaType.`APPLICATION_SOAP_XML`
  The media type for `application/soap+xml`.
  `static final MediaType`
  MediaType.`APPLICATION_XML`
  The media type for `application/xml`.
  `static final MediaType`
  MediaType.`APPLICATION_XOP_XML`
  The media type for `application/xop+xml`.
  `static final MediaType`
  MediaType.`MULTIPART_RELATED`
  The media type for `multipart/related`.
  `static final MediaType`
  MediaType.`TEXT_PLAIN`
  The media type for `text/plain`.
  `static final MediaType`
  MediaType.`TEXT_XML`
  The media type for `text/xml`.
  Methods in org.apache.axiom.mime that return MediaType
  Modifier and Type
  Method
  Description
  `MediaType`
  ContentType.Builder.`getMediaType()`
  Get the media type.
  `MediaType`
  ContentType.`getMediaType()`
  Get the media type this content type refers to.
  Methods in org.apache.axiom.mime with parameters of type MediaType
  Modifier and Type
  Method
  Description
  `ContentType.Builder`
  ContentType.Builder.`setMediaType(MediaType mediaType)`
  Set the media type.
  Constructors in org.apache.axiom.mime with parameters of type MediaType
  Modifier
  Constructor
  Description
  ``
  `ContentType(MediaType mediaType, String... parameters)`
  Constructor.

- ## Uses of MediaType in org.apache.axiom.soap

  Methods in org.apache.axiom.soap that return MediaType
  Modifier and Type
  Method
  Description
  `MediaType`
  SOAP11Version.`getMediaType()`
  `MediaType`
  SOAP12Version.`getMediaType()`
  `MediaType`
  SOAPVersion.`getMediaType()`
  Obtain the media type for this version of SOAP.