public final class ParserMatch extends Object
Constructor and Description |
---|
ParserMatch(MediaType mediaType,
Parser parser)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
getMediaType()
Returns the media type of the parser that matched the HTTP
|
Parser |
getParser()
Returns the parser that matched the HTTP
|
public ParserMatch(MediaType mediaType, Parser parser)
mediaType
- The media type of the match.parser
- The parser that matched.public MediaType getMediaType()
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.