## Uses of Class
org.apache.any23.servlet.conneg.MediaRangeSpec

- Packages that use MediaRangeSpec
  Package | Description
  --- | ---
  org.apache.any23.servlet.conneg | This package provides the Any23 content type negotiator.

- - ### Uses of MediaRangeSpec in org.apache.any23.servlet.conneg

    Methods in org.apache.any23.servlet.conneg that return MediaRangeSpec
    Modifier and Type | Method and Description
    --- | ---
    `MediaRangeSpec` | MediaRangeSpec.`getBestMatch(List<MediaRangeSpec> mediaRanges)`
    `MediaRangeSpec` | ContentTypeNegotiator.`getBestMatch(String accept)` Returns the `MediaRangeSpec` associated to the given accept type.
    `MediaRangeSpec` | ContentTypeNegotiator.`getBestMatch(String accept, String userAgent)` Returns the `MediaRangeSpec` associated to the given accept type and userAgent.
    `MediaRangeSpec` | ContentTypeNegotiator.VariantSpec.`getMediaType()`
    `static MediaRangeSpec` | MediaRangeSpec.`parseRange(String mediaRange)` Parses a media range from a string such as `text/*;charset=utf-8;q=0.9`.
    `static MediaRangeSpec` | MediaRangeSpec.`parseType(String mediaType)` Parses a media type from a string such as `text/html;charset=utf-8;q=0.9`.

    Methods in org.apache.any23.servlet.conneg that return types with arguments of type MediaRangeSpec
    Modifier and Type | Method and Description
    --- | ---
    `List<MediaRangeSpec>` | ContentTypeNegotiator.VariantSpec.`getAliases()`
    `static List<MediaRangeSpec>` | MediaRangeSpec.`parseAccept(String s)` Parses an HTTP Accept header into a List of MediaRangeSpecs

    Methods in org.apache.any23.servlet.conneg with parameters of type MediaRangeSpec
    Modifier and Type | Method and Description
    --- | ---
    `int` | MediaRangeSpec.`getPrecedence(MediaRangeSpec range)`

    Method parameters in org.apache.any23.servlet.conneg with type arguments of type MediaRangeSpec
    Modifier and Type | Method and Description
    --- | ---
    `MediaRangeSpec` | MediaRangeSpec.`getBestMatch(List<MediaRangeSpec> mediaRanges)`

Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.