Package org.apache.juneau.serializer
Class SerializerMatch
java.lang.Object
org.apache.juneau.serializer.SerializerMatch
Represents a serializer and media type that matches an HTTP Accept  header value.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the media type of the serializers that matched the HTTPAccept header value.Returns the serializer that matched the HTTPAccept header value.
- 
Constructor Details- 
SerializerMatchConstructor.- Parameters:
- mediaType- The media type matched.
- serializer- The serializer matched.
 
 
- 
- 
Method Details- 
getMediaTypeReturns the media type of the serializers that matched the HTTPAccept header value.- Returns:
- The media type of the match.
 
- 
getSerializerReturns the serializer that matched the HTTPAccept header value.- Returns:
- The serializer of the match.
 
 
-