Uses of Interface
org.forgerock.json.resource.QueryResponse
Packages that use QueryResponse
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
-
Uses of QueryResponse in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return QueryResponseModifier 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.Methods in org.forgerock.json.resource that return types with arguments of type QueryResponseModifier 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) AbstractRequestHandler.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.FilterChain.handleQuery
(Context context, QueryRequest request, QueryResourceHandler handler) 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.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.
Responses.newQueryResponse(String, CountPolicy, int)
instead.