Class RESTHeaders
- java.lang.Object
-
- org.apache.syncope.common.rest.api.RESTHeaders
-
public final class RESTHeaders extends Object
Custom HTTP headers in use with REST services.
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_YAML
Mediatype for YAML, not defined inMediaType
.static javax.ws.rs.core.MediaType
APPLICATION_YAML_TYPE
Mediatype for YAML, not defined inMediaType
.static String
BOUNDARY_PARAMETER
The boundary parameter name for multipart, not defined inMediaType
.static String
CONNOBJECT_KEY
static String
DELEGATED_BY
static String
DELEGATIONS
static String
DOMAIN
static String
ERROR_CODE
Declares the type of exception being raised.static String
ERROR_INFO
Declares additional information for the exception being raised.static String
MEDIATYPE_IMAGE_PNG
Mediatype for PNG images, not defined inMediaType
.static String
MULTIPART_MIXED
Mediatype for multipart/mixed, not defined inMediaType
.static String
NULL_PRIORITY_ASYNC
Asks for asynchronous propagation towards external resources with null priority.static String
OWNED_ENTITLEMENTS
static String
PREFER
Allows the client to specify a preference for the result to be returned from the server.static String
PREFERENCE_APPLIED
Allows the server to inform the client about the fact that a specified preference was applied.static String
RESOURCE_KEY
static String
TEXT_CSV
Mediatype for text/csv, not defined inMediaType
.static javax.ws.rs.core.MediaType
TEXT_CSV_TYPE
Mediatype for text/csv, not defined inMediaType
.static String
TOKEN
static String
TOKEN_EXPIRE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
multipartMixedWith(String boundary)
Builds Content-Type string for multipart/mixed and the given boundary.
-
-
-
Field Detail
-
DOMAIN
public static final String DOMAIN
- See Also:
- Constant Field Values
-
TOKEN
public static final String TOKEN
- See Also:
- Constant Field Values
-
TOKEN_EXPIRE
public static final String TOKEN_EXPIRE
- See Also:
- Constant Field Values
-
OWNED_ENTITLEMENTS
public static final String OWNED_ENTITLEMENTS
- See Also:
- Constant Field Values
-
DELEGATED_BY
public static final String DELEGATED_BY
- See Also:
- Constant Field Values
-
DELEGATIONS
public static final String DELEGATIONS
- See Also:
- Constant Field Values
-
RESOURCE_KEY
public static final String RESOURCE_KEY
- See Also:
- Constant Field Values
-
CONNOBJECT_KEY
public static final String CONNOBJECT_KEY
- See Also:
- Constant Field Values
-
NULL_PRIORITY_ASYNC
public static final String NULL_PRIORITY_ASYNC
Asks for asynchronous propagation towards external resources with null priority.- See Also:
- Constant Field Values
-
ERROR_CODE
public static final String ERROR_CODE
Declares the type of exception being raised.- See Also:
ClientExceptionType
, Constant Field Values
-
ERROR_INFO
public static final String ERROR_INFO
Declares additional information for the exception being raised.- See Also:
- Constant Field Values
-
MEDIATYPE_IMAGE_PNG
public static final String MEDIATYPE_IMAGE_PNG
Mediatype for PNG images, not defined inMediaType
.- See Also:
- Constant Field Values
-
APPLICATION_YAML
public static final String APPLICATION_YAML
Mediatype for YAML, not defined inMediaType
.- See Also:
- Constant Field Values
-
APPLICATION_YAML_TYPE
public static final javax.ws.rs.core.MediaType APPLICATION_YAML_TYPE
Mediatype for YAML, not defined inMediaType
.
-
TEXT_CSV
public static final String TEXT_CSV
Mediatype for text/csv, not defined inMediaType
.- See Also:
- Constant Field Values
-
TEXT_CSV_TYPE
public static final javax.ws.rs.core.MediaType TEXT_CSV_TYPE
Mediatype for text/csv, not defined inMediaType
.
-
MULTIPART_MIXED
public static final String MULTIPART_MIXED
Mediatype for multipart/mixed, not defined inMediaType
.- See Also:
- Constant Field Values
-
BOUNDARY_PARAMETER
public static final String BOUNDARY_PARAMETER
The boundary parameter name for multipart, not defined inMediaType
.- See Also:
- Constant Field Values
-
PREFER
public static final String PREFER
Allows the client to specify a preference for the result to be returned from the server. More information.- See Also:
Preference
, Constant Field Values
-
PREFERENCE_APPLIED
public static final String PREFERENCE_APPLIED
Allows the server to inform the client about the fact that a specified preference was applied. More information.- See Also:
Preference
, Constant Field Values
-
-