MediaType requestType;
try {
requestType = getMethod ? MediaType.WILDCARD_TYPE : toMediaType(requestContentType);
} catch (IllegalArgumentException ex) {
throw new NotSupportedException(ex);
}
SortedMap<OperationResourceInfo, MultivaluedMap<String, String>> candidateList =
new TreeMap<OperationResourceInfo, MultivaluedMap<String, String>>(
new OperationResourceInfoComparator(message, httpMethod,