public class NormalizingResultsHandler extends Object implements ResultsHandler
| Constructor and Description |
|---|
NormalizingResultsHandler(ResultsHandler target,
ObjectNormalizerFacade normalizer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(ConnectorObject obj)
Invoked each time a matching
ConnectorObject is returned from a
query request. |
public NormalizingResultsHandler(ResultsHandler target, ObjectNormalizerFacade normalizer)
public boolean handle(ConnectorObject obj)
ResultsHandlerConnectorObject is returned from a
query request.handle in interface ResultsHandlerobj - The matching ConnectorObject.true if this handler should continue to be notified of
any remaining matching ConnectorObjects, or false if the
remaining ConnectorObjects should be skipped for some reason
(e.g. a client side size limit has been reached or the failed to
handle the last item). If returns false the last items
should be considers unhandled and in next page request it should
be the first item.Copyright © 2018–2025. All rights reserved.