Uses of Interface
org.forgerock.json.resource.QueryResponse
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
Common utility classes for monitoring.
This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms
in OpenAM built in.
-
Uses of QueryResponse in org.forgerock.json.resource
Modifier and TypeMethodDescriptionSynchronousRequestHandler.handleQuery
(Context context, QueryRequest request, Collection<ResourceResponse> resources) Searches for all JSON resources matching a user specified set of criteria.static QueryResponse
Responses.newQueryResponse()
Creates a new query result with anull
paged results cookie and no count of the total number of remaining results.static QueryResponse
Responses.newQueryResponse
(String pagedResultsCookie) Creates a new query result with the provided paged results cookie and no count.static QueryResponse
Responses.newQueryResponse
(String pagedResultsCookie, CountPolicy totalPagedResultsPolicy, int totalPagedResults) Creates a new query result with the provided paged results cookie and a count of the total number of remaining results according to totalPagedResultsPolicy.static QueryResponse
Responses.newRemainingResultsResponse
(String pagedResultsCookie, int remainingPagedResults) Deprecated.AbstractAsynchronousConnection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) AbstractAsynchronousConnection.query
(Context context, QueryRequest request, QueryResourceHandler handler) AbstractConnectionWrapper.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.AbstractConnectionWrapper.query
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Connection.query
(Context context, QueryRequest request, Collection<? super ResourceResponse> results) Searches for all JSON resources matching a user specified set of criteria, and places the results in the provided collection.Connection.query
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.default QueryResponse
QueryResponse.setCacheControl
(ResponseCacheControl cacheControl) Sets the cache control for this response.Modifier and TypeMethodDescriptionQueryResponse.asPromise()
Return this response as a result Promise.Filter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filters a query request.ResourceApiVersionRoutingFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) ResourceApiVersionSpecificationFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) FilterChain.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) default Promise<QueryResponse,
ResourceException> RequestHandler.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) Searches for all JSON resources matching a user specified set of criteria, returning aPromise
that will be completed when the search has completed.Router.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) AbstractConnectionWrapper.queryAsync
(Context context, QueryRequest request, QueryResourceHandler handler) Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.Connection.queryAsync
(Context context, QueryRequest request, QueryResourceHandler handler) Asynchronously searches for all JSON resources matching a user specified set of criteria, and returns aPromise
that will be completed with the results of the search.default Promise<QueryResponse,
ResourceException> CollectionResourceProvider.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria.MemoryBackend.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) Searches
the collection for all resources which match the query request criteria. -
Uses of QueryResponse in org.forgerock.monitoring
Modifier and TypeMethodDescriptionDropwizardMetricsCollectionResourceProvider.queryCollection
(Context context, QueryRequest request, QueryResourceHandler handler) -
Uses of QueryResponse in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Responses.newQueryResponse(String, CountPolicy, int)
instead.