public final class HttpUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_DISPOSITION
the HTTP header for Content-Disposition.
|
static Version |
DEFAULT_PROTOCOL_VERSION
The default version of the named protocol.
|
static String |
PARAM_ACTION
the HTTP request parameter for an action.
|
static String |
PARAM_CREST_API
Request the CREST API Descriptor.
|
static String |
PARAM_FIELDS
the HTTP request parameter to specify which fields to return.
|
static String |
PARAM_MIME_TYPE
the HTTP request parameter to request a certain mimetype for a filed.
|
static String |
PARAM_PAGE_SIZE
the HTTP request parameter to request a certain page size.
|
static String |
PARAM_PAGED_RESULTS_COOKIE
the HTTP request parameter to specify a paged results cookie.
|
static String |
PARAM_PAGED_RESULTS_OFFSET
the HTTP request parameter to specify a paged results offset.
|
static String |
PARAM_PRETTY_PRINT
the HTTP request parameter to request pretty printing.
|
static String |
PARAM_QUERY_EXPRESSION
the HTTP request parameter to specify a query expression.
|
static String |
PARAM_QUERY_FILTER
the HTTP request parameter to specify a query filter.
|
static String |
PARAM_QUERY_ID
the HTTP request parameter to specify a query id.
|
static String |
PARAM_SORT_KEYS
the HTTP request parameter to specify the sort keys.
|
static String |
PARAM_TOTAL_PAGED_RESULTS_POLICY
The policy used for counting total paged results.
|
static Version |
PROTOCOL_VERSION_1
Protocol Version 1.
|
static Version |
PROTOCOL_VERSION_2
Protocol Version 2 - supports upsert on PUT.
|
static Version |
PROTOCOL_VERSION_2_1
Protocol Version 2.1 - supports defacto standard for create requests when the ID of the created resource is
to be allocated by the server, which are represented as a POST to the collection endpoint without an
_action query parameter. |
Modifier and Type | Method and Description |
---|---|
static RequestType |
determineRequestType(Request request)
Determines which CREST operation (CRUDPAQ) of the incoming request.
|
public static final String CONTENT_DISPOSITION
public static final String PARAM_ACTION
public static final String PARAM_FIELDS
public static final String PARAM_MIME_TYPE
public static final String PARAM_PAGE_SIZE
public static final String PARAM_PAGED_RESULTS_COOKIE
public static final String PARAM_PAGED_RESULTS_OFFSET
public static final String PARAM_PRETTY_PRINT
public static final String PARAM_QUERY_EXPRESSION
public static final String PARAM_QUERY_FILTER
public static final String PARAM_QUERY_ID
public static final String PARAM_SORT_KEYS
public static final String PARAM_TOTAL_PAGED_RESULTS_POLICY
public static final String PARAM_CREST_API
public static final Version PROTOCOL_VERSION_1
public static final Version PROTOCOL_VERSION_2
public static final Version PROTOCOL_VERSION_2_1
_action
query parameter.public static final Version DEFAULT_PROTOCOL_VERSION
public static RequestType determineRequestType(Request request) throws ResourceException
request
- The request.ResourceException
- If the request operation could not be
determined or is not supported.Copyright © 2025 Open Identity Platform Community. All rights reserved.