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 SummaryConstructors
- 
Method SummaryModifier 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- 
ParserMatchConstructor.- Parameters:
- mediaType- The media type of the match.
- parser- The parser that matched.
 
 
- 
- 
Method Details- 
getMediaTypeReturns the media type of the parser that matched the HTTPContent-Type header value.- Returns:
- The media type of the match.
 
- 
getParserReturns the parser that matched the HTTPContent-Type header value.- Returns:
- The parser of the match.
 
 
-