## Uses of Interface
io.vertx.httpproxy.MediaType

- Packages that use MediaType
  Package | Description
  --- | ---
  io.vertx.httpproxy |
  io.vertx.rxjava3.httpproxy |

- - ### Uses of MediaType in io.vertx.httpproxy

    Fields in io.vertx.httpproxy declared as MediaType
    Modifier and Type | Field | Description
    --- | --- | ---
    `static MediaType` | MediaType.`ANY` |
    `static MediaType` | MediaType.`APPLICATION` |
    `static MediaType` | MediaType.`APPLICATION_JSON` |
    `static MediaType` | MediaType.`APPLICATION_OCTET_STREAM` |
    `static MediaType` | MediaType.`TEXT` |
    `static MediaType` | MediaType.`TEXT_PLAIN` |

    Methods in io.vertx.httpproxy that return MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MediaType` | MediaType.`parse​(String s)` | Parse a media type.
    `default MediaType` | BodyTransformer.`produces​(MediaType mediaType)` |

    Methods in io.vertx.httpproxy that return types with arguments of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<MediaType>` | MediaType.`parseAcceptHeader​(String header)` | Parse an accept header which is a list of media types

    Methods in io.vertx.httpproxy with parameters of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | MediaType.`accepts​(MediaType other)` |
    `static Body` | Body.`body​(Buffer buffer, MediaType mediaType)` | Create a new `Body` instance.
    `static Body` | Body.`body​(ReadStream<Buffer> stream, long len, MediaType mediatype)` |
    `default boolean` | BodyTransformer.`consumes​(MediaType mediaType)` |
    `default MediaType` | BodyTransformer.`produces​(MediaType mediaType)` |
    `static BodyTransformer` | BodyTransformers.`transform​(MediaType consumes, MediaType produces, long maxBufferedBytes, Function<Buffer,​Buffer> transformer)` | Create a body transformer that transforms `consumes` media type to the `produces` media type, by applying the `transformer` function.
    `static BodyTransformer` | BodyTransformers.`transform​(MediaType consumes, MediaType produces, Function<Buffer,​Buffer> transformer)` | Like `BodyTransformers.transform(MediaType, MediaType, long, Function)` with `BodyTransformers.DEFAULT_MAX_BUFFERED_SIZE` maximum buffered bytes.

  - ### Uses of MediaType in io.vertx.rxjava3.httpproxy

    Methods in io.vertx.rxjava3.httpproxy that return MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaType` | BodyTransformer.`produces​(MediaType mediaType)` |

    Methods in io.vertx.rxjava3.httpproxy with parameters of type MediaType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Body` | Body.`body​(Flowable<Buffer> stream, long len, MediaType mediatype)` |
    `static Body` | Body.`body​(Buffer buffer, MediaType mediaType)` | Create a new `Body` instance.
    `boolean` | BodyTransformer.`consumes​(MediaType mediaType)` |
    `MediaType` | BodyTransformer.`produces​(MediaType mediaType)` |
    `static BodyTransformer` | BodyTransformers.`transform​(MediaType consumes, MediaType produces, long maxBufferedBytes, Function<Buffer,​Buffer> transformer)` | Create a body transformer that transforms `consumes` media type to the `produces` media type, by applying the `transformer` function.
    `static BodyTransformer` | BodyTransformers.`transform​(MediaType consumes, MediaType produces, Function<Buffer,​Buffer> transformer)` | Like `BodyTransformers.transform(io.vertx.httpproxy.MediaType, io.vertx.httpproxy.MediaType, java.util.function.Function<io.vertx.core.buffer.Buffer, io.vertx.core.buffer.Buffer>)` with `BodyTransformers` maximum buffered bytes.