private ContentType getContentType(final Map<String, String> queryParameters, final List<String> acceptHeaderContentTypes) { ContentType cntType = getContentTypeByUriInfo(queryParameters); if (cntType == null) { cntType = getContentTypeByAcceptHeader(acceptHeaderContentTypes); } return cntType; }
private ContentType getContentType(final UriInfo uriInfo, final HttpHeaders httpHeaders) { ContentType cntType = getContentTypeByUriInfo(uriInfo); if (cntType == null) { cntType = getContentTypeByAcceptHeader(httpHeaders); } return cntType; }
private ContentType getContentType(final Map<String, String> queryParameters, final List<String> acceptHeaderContentTypes) { ContentType cntType = getContentTypeByUriInfo(queryParameters); if (cntType == null) { cntType = getContentTypeByAcceptHeader(acceptHeaderContentTypes); } return cntType; }
private ContentType getContentType(final Map<String, String> queryParameters, final List<String> acceptHeaderContentTypes) { ContentType contentType = getContentTypeByUriInfo(queryParameters); if (contentType == null) { contentType = getContentTypeByAcceptHeader(acceptHeaderContentTypes); } return contentType; }
private ContentType getContentType(final UriInfo uriInfo, final HttpHeaders httpHeaders) { ContentType cntType = getContentTypeByUriInfo(uriInfo); if (cntType == null) { cntType = getContentTypeByAcceptHeader(httpHeaders); } return cntType; }
private ContentType getContentType(final UriInfo uriInfo, final HttpHeaders httpHeaders) { ContentType contentType = getContentTypeByUriInfo(uriInfo); if (contentType == null) { contentType = getContentTypeByAcceptHeader(httpHeaders); } return contentType; }