Class MediaTypeParser.ParsedMediaType

java.lang.Object
org.opensearch.common.xcontent.MediaTypeParser.ParsedMediaType
Enclosing class:
MediaTypeParser<T extends MediaType>

public class MediaTypeParser.ParsedMediaType extends Object
A media type object that contains all the information provided on a Content-Type or Accept header
  • Constructor Details

    • ParsedMediaType

      public ParsedMediaType(T mediaType, Map<String,String> parameters)
  • Method Details

    • getMediaType

      public T getMediaType()
    • getParameters

      public Map<String,String> getParameters()