question: private boolean isMediaTypeMatch ( MediaType mediaType , MediaType rangePattern ) { String WILDCARD = "*" ; String rangePatternType = rangePattern . getType ( ) ; String rangePatternSubtype = rangePattern . getSubtype ( ) ; return ( rangePatternType . equals ( WILDCARD ) || rangePatternType . equals ( mediaType . getType ( ) ) ) && ( rangePatternSubtype . equals ( WILDCARD ) || rangePatternSubtype . equals ( mediaType . getSubtype ( ) ) ) ; }
target:  Returns true if mediaType falls withing the given range (pattern), false otherwise 