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