public class IdentifierQueryResourceHandler extends Object implements QueryResourceHandler
QueryResourceHandler that searches for a specific identifier value.| Constructor and Description |
|---|
IdentifierQueryResourceHandler(String id)
Creates a new
QueryResourceHandler for the given identifier. |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the identifier being queried for.
|
ResourceResponse |
getResourceResponse()
Gets the
ResourceResponse query result. |
boolean |
handleResource(ResourceResponse resource)
Invoked each time a matching JSON resource is returned from a query
request.
|
public IdentifierQueryResourceHandler(String id)
QueryResourceHandler for the given identifier.id - Identifier to query forpublic boolean handleResource(ResourceResponse resource)
QueryResourceHandlerRefer to
RequestHandler.handleQuery(org.forgerock.services.context.Context, QueryRequest, QueryResourceHandler)
for information regarding the concurrency and the order in which events
are processed.
handleResource in interface QueryResourceHandlerresource - The matching JSON resource.true if this handler should continue to be notified of
any remaining matching JSON resources, or false if the
remaining JSON resources should be skipped for some reason (e.g.
a client side size limit has been reached).public String getId()
public ResourceResponse getResourceResponse()
ResourceResponse query result.ResourceResponse or null if not yet foundCopyright © 2025 Open Identity Platform Community. All rights reserved.