All Classes and Interfaces
Class
Description
An abstract connection whose synchronous methods are implemented in terms of
asynchronous methods.
An abstract base class from which connection wrappers may be easily
implemented.
An abstract base class from which request handlersmay be easily implemented.
An implementation specific action, or operation, upon a JSON resource.
Response object for JSON responses.
A
Context
containing information which should be returned to the user in some
appropriate form to the user.WarningHeader implements RFC 2616 section 14.46 - Warning.
A utility class for dealing with
CrestApplication
instances.An exception that is thrown during a operation on a resource when the
requested operation is malformed.
An implementation interface for resource providers which exposes a collection
of resource instances.
An exception that is thrown during a operation on a resource when such an
operation would result in a conflict.
A client connection to a JSON resource provider over which read and update
requests may be performed.
A connection factory provides an interface for obtaining a connection to a
JSON resource provider.
An enum of count policy types.
A specific exception for when Create is not supported, but Upsert might be being attempted so distinguish from
other
BadRequestException
s.A request to create a new JSON resource.
Declare a CREST Application.
A request to delete a JSON resource.
Version of
SynchronousRequestHandlerAdapter
that exposes a described handler.An interface for implementing request handler filters.
A chain of filters terminated by a target request handler.
A condition which controls whether or not a filter will be invoked or not.
This class contains methods for creating various kinds of
Filter
and
FilterCondition
s.An exception that is thrown when access to a resource is forbidden during an
operation on an resource.
QueryResourceHandler
that searches for a specific identifier value.An exception that is thrown during an operation on a resource when the server
encountered an unexpected condition which prevented it from fulfilling the
request.
A simple in-memory collection resource provider which uses a
Map
to
store resources.An exception that is thrown when a specified resource cannot be found.
An exception that is thrown during an operation on a resource when the
resource does not implement/support the feature to fulfill the request.
An individual patch operation which is to be performed against a field within
a resource.
A request to update a JSON resource by applying a set of changes to its existing content.
An exception that indicates that a failure is permanent, i.e. that re-trying
alone without addressing the cause is not expected to succeed.
An exception that is thrown to indicate that a resource's current version
does not match the version provided.
An exception that is thrown to indicate that a resource requires a version,
but no version was supplied in the request.
Convenience methods to create
QueryFilter
that
specify fields in terms of JsonPointer
instances.A request to search for all JSON resources matching a user specified set of criteria.
A completion handler for consuming the results of a query request.
The final result of a query request returned after all resources matching the
request have been returned.
A request to read a single identified JSON resource.
Common attributes of all JSON resource requests.
Represents the contract with a set of resources.
A utility class containing various factory methods for creating and
manipulating requests.
An enumeration whose values represent the different types of request.
A visitor of
Request
s, in the style of the visitor design pattern.API Version routing filter which creates a
ApiVersionRouterContext
which contains the default routing behaviour when the
Accept-API-Version header is set on the request.An exception that is thrown during the processing of a JSON resource request.
A relative path, or URL, to a resource.
A resource, comprising of a resource ID, a revision (etag), and its JSON
content.
This class contains methods for creating and manipulating connection
factories and connections.
Common response object of all resource responses.
A utility class containing various factory methods for creating and
manipulating responses.
An exception that indicates that a failure may be temporary, and that
retrying the same request may be able to succeed in the future.
A utility class that contains methods for creating route matchers.
A router which routes requests based on route predicates.
Represents a URI template string that will be used to match and route
incoming requests.
An exception that is thrown during an operation on a resource when the server
is temporarily unable to handle the request.
An implementation interface for resource providers which exposes a single
permanent resource instance.
A sort key which can be used to specify the order in which JSON resources
should be included in the results of a query request.
An interface for implementing synchronous
RequestHandler
s.An exception that indicates that a failure is not directly known to the
system, and hence requires out-of-band knowledge or enhancements to determine
if a failure should be categorized as temporary or permanent.
Mark a method on a resource provider interface implementation as not supported.
A request to update a JSON resource by replacing its existing content with new content.