java.lang.Object
org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPHeaders

public final class HTTPHeaders extends Object
Canonical HTTP header names shared by Resource Registry clients and server.
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

    • CONTENT_LOCATION

      public static final String CONTENT_LOCATION
      Standard HTTP Content-Location response header name (RFC 9110 Section 8.7). Carries the canonical URI of the returned payload on a successful creation/update response, or the URI that generated a failure on an error response.
      See Also:
    • PREFER

      public static final String PREFER
      Standard HTTP Prefer request header name (RFC 7240).
      See Also:
    • PREFERENCE_APPLIED

      public static final String PREFERENCE_APPLIED
      Standard HTTP Preference-Applied response header name (RFC 7240).
      See Also:
    • X_WARNING

      public static final String X_WARNING
      Custom HTTP Warning header name for query parameter and content validation.
      See Also:
    • X_RESULT_SCOPE

      public static final String X_RESULT_SCOPE
      Custom HTTP header name communicating the operational scope of a successful response (e.g. hierarchical, role-filtered, state-filtered), emitted as a single comma-separated value. See appendix/09-result-scope-conventions.md in the reference documentation for the full normative contract.
      See Also:
    • X_RESOLVED_CONTEXT_PATH

      public static final String X_RESOLVED_CONTEXT_PATH
      Custom HTTP header name communicating the current resolved context path when token resolution falls back to a previous path (emitted alongside X-Result-Scope: previous-path).
      See Also:
    • X_HTTP_METHOD_OVERRIDE

      public static final String X_HTTP_METHOD_OVERRIDE
      HTTP method override request header name. A POST request carrying X-HTTP-Method-Override: QUERY is treated as a native QUERY (RFC 10008) request, for network intermediaries or client libraries that cannot send the QUERY method directly.
      See Also: