Package org.apache.juneau.parser
Class ParserMatch
java.lang.Object
org.apache.juneau.parser.ParserMatch
Represents a parser and media type that matches an HTTP Content-Type header value.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the media type of the parser that matched the HTTPContent-Type header value.Returns the parser that matched the HTTPContent-Type header value.
-
Constructor Details
-
ParserMatch
Constructor.- Parameters:
mediaType
- The media type of the match.parser
- The parser that matched.
-
-
Method Details
-
getMediaType
Returns the media type of the parser that matched the HTTPContent-Type header value.- Returns:
- The media type of the match.
-
getParser
Returns the parser that matched the HTTPContent-Type header value.- Returns:
- The parser of the match.
-