public class ServerUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static javax.ws.rs.core.MediaType |
MEDIA_TYPE_SCIM_TYPE
The SCIM media type.
|
| Constructor and Description |
|---|
ServerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Response.ResponseBuilder |
setAcceptableType(javax.ws.rs.core.Response.ResponseBuilder response,
List<javax.ws.rs.core.MediaType> acceptableTypes)
Sets the appropriate response content type while taking the accept header
into account.
|
public static final javax.ws.rs.core.MediaType MEDIA_TYPE_SCIM_TYPE
public ServerUtils()
public static javax.ws.rs.core.Response.ResponseBuilder setAcceptableType(javax.ws.rs.core.Response.ResponseBuilder response, List<javax.ws.rs.core.MediaType> acceptableTypes)
response - The response builder.acceptableTypes - The list of acceptable types from
Request.getAcceptableMediaTypes.Copyright © 2015–2016 UnboundID Corp.. All rights reserved.