Package org.gcube.informationsystem.resourceregistry.rest.providers


package org.gcube.informationsystem.resourceregistry.rest.providers
  • Classes
    Class
    Description
    Global JAX-RS response filter emitting Content-Location (RFC 9110 Section 8.7), per 07-api-foundations-and-roles.md: "the canonical URI of the returned payload, or the specific URI that generated a failure in error responses" - for creation/update responses, single-instance reads, and error responses alike.
    Global JAX-RS response filter that automatically extracts accumulated LinkRelation entries from the current JAX-RS ContainerRequestContext properties and emits them as RFC 8288 Link response headers.
    Programmatic OpenAPI filter that scans classes for custom QUERY methods and dynamically generates their standard POST fallback endpoints in the resulting OpenAPI specification.
    Global JAX-RS response filter that automatically extracts the accumulated OperationReturn preference from the current JAX-RS ContainerRequestContext properties and emits it as the Preference-Applied response header.
    Global JAX-RS request filter providing the POST compatibility fallback for the RFC 10008 QUERY HTTP method: network intermediaries (WAFs, proxies) or client libraries that block non-standard HTTP methods can send a POST request carrying the X-HTTP-Method-Override: QUERY header instead of a native QUERY request.
    Global JAX-RS ExceptionMapper that maps every ResourceRegistryException thrown by the service into an HTTP error Response.
    Global JAX-RS filter that emits the accumulated ResultScope tokens as a single combined X-Result-Scope response header.
    Global JAX-RS ExceptionMapper for any exception no more specific mapper handles (ResourceRegistryExceptionMapper, WebApplicationExceptionMapper): a 500 Internal Server Error with the service's JSON error body instead of the container's HTML page.
    Global JAX-RS response filter that automatically extracts accumulated query-parameter and content warnings from the current JAX-RS ContainerRequestContext properties and emits them as X-Warning response headers.
    Global JAX-RS ExceptionMapper giving the JSON error body of the service to the WebApplicationExceptions: the 401 and 403 of the Policy Enforcement Points, and the errors of the JAX-RS runtime itself (e.g.