Class RESTHeaders
java.lang.Object
org.apache.syncope.common.rest.api.RESTHeaders
Custom HTTP headers in use with REST services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMediatype for YAML, not defined inMediaType.static final MediaTypeMediatype for YAML, not defined inMediaType.static final StringThe boundary parameter name for multipart, not defined inMediaType.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringDeclares the type of exception being raised.static final StringDeclares additional information for the exception being raised.static final StringMediatype for PNG images, not defined inMediaType.static final StringMediatype for multipart/mixed, not defined inMediaType.static final StringAsks for asynchronous propagation towards external resources with null priority.static final Stringstatic final StringAllows the client to specify a preference for the result to be returned from the server.static final StringAllows the server to inform the client about the fact that a specified preference was applied.static final Stringstatic final StringMediatype for text/csv, not defined inMediaType.static final MediaTypeMediatype for text/csv, not defined inMediaType.static final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmultipartMixedWith(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
-