public final class WebCommandRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
MEDIA_TYPE_ANY
All-matching media type.
|
static java.lang.String |
QUERY_PARAM_ACCEPT
The query parameter to force an acceptable media type.
|
Constructor and Description |
---|
WebCommandRequest() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
getRequestedContentType(javax.ws.rs.core.UriInfo aUriInfo, |
static java.lang.String |
getRequestedContentType(javax.ws.rs.core.UriInfo aUriInfo,
Returns the most suitable media type for the response of the current
request.
|
aUriInfo
- The URI information of the current request.aHeaders
- The HTTP headers of the current request.aRequest
- The current request.aRecognizedVariants
- The list of acceptable media type variants.