All Classes and Interfaces
Class
Description
Superclass for Fedora JAX-RS Resources, providing convenience fields and methods.
Translate Java Security AccessControlExceptions into HTTP 403 Forbidden errors
For generic BadRequestExceptions.
A mapper for memento creation exceptions
Response body for
ConcurrentUpdateException.Abstract class for constraint violation subclasses
ExternalContentException mapper
If an External Content Link header isn't formatted correctly or missing something, return
a Bad Request error.
This class wraps the standard Spring ContextLoaderListener in order to catch initialization errors.
For invalid namespace exceptions on CRUD actions for nodes/datastreams
Map an GhostNodeException to a response.
If a client-provided header value fails to parse, return an HTTP 400 Bad Request.
An annotation that hints to the HtmlProvider a template that should be used
to render a response.
Convert between HTTP URIs (LDP paths) and internal Fedora ID using a
JAX-RS UriBuilder to mediate the URI translation.
Utility for injecting HTTP-contextual data into an RdfStream
Translate InsufficientStorageException errors into HTTP error codes
If an HTTP request's processing is interrupted, return an HTTP 503 Service Unavailable.
Translate InvalidACLExceptions into HTTP 409 CONFLICT errors
Translate InvalidChecksumException errors into reasonable
HTTP error codes
For invalid namespace exceptions on CRUD actions for nodes/datastreams
The class translates
InvalidResourceIdentifierExceptions to its proper
response code.Catch ItemNotFoundException
If an injected JSON resource fails to parse, return an HTTP 400 Bad Request.
A subclass of
PreferTag that contemplates the possible preferences for Linked Data Platform requests.Writer for application/link-format bodies.
Stream of links for Memento TimeMaps
Handle MementoDatetimeFormatException with HTTP 400 Bad Request.
Enables Micrometer metrics on Jersey APIs (still must be annotated with @Timed)
Mapper to display all the various constrainedby links and messages.
Aggregates information from multiple Prefer HTTP headers.
Handle Jersey ParamException
PATCH HTTP method
Catch PathNotFoundException
Catch PathNotFoundRuntimeException(s)
Maps PersistentItemConflictException to an appropriate http response.
Maps PreconditionException to an appropriate http response.
Parse a single prefer tag, value and any optional parameters
This class is an extension of Prometheus's MetricsServlet.
Handles Sparql query parsing exceptions thrown when querying or updating.
Range header parsing logic
Represents a range object based on length
This is a convenience class carrying the various RDF content-type values as
Strings and MediaTypes, after the fashion of the constants available on
javax.ws.rs.core.MediaType
A simple type to collect an RdfStream and associated Namespace mappings
Provides serialization for streaming RDF results.
Serializes an
RdfStream.Provide a quasi-useful stacktrace when a generic RepositoryException is caught
If a session is requested that has been closed (or never existed), just
return an HTTP 410 Gone.
JAX-RS HTTP parameter parser for the Prefer header
Constants related to transactions in HTTP requests
Provide a fedora tranasction within the current request context
Mapper for transaction exceptions
Comparator to sort a list of Quads by subject, predicate, and object
to ensure a consistent order for human-readable output
Translate UnsupportedAlgorithmException errors into reasonable
HTTP error codes
UnsupportedMediaType mapper
Helper to generate an RDF model for a FedoraResourceImpl that (likely) creates
relations from our resource to other HTTP components
General view helpers for rendering HTML responses
Handle Jersey WebApplicationException
Catch all the exceptions!