public class QueryResponsePostProcessor extends Object
Metacard.RESOURCE_DOWNLOAD_URL attribute to all the Metacard objects
contained in the QueryResponse. The download URL is generated using the ActionProvider whose ID is "catalog.data.metacard.resource".| Constructor and Description |
|---|
QueryResponsePostProcessor(ActionProvider resourceActionProvider,
MultiActionProvider derivedActionProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
processResponse(QueryResponse queryResponse)
Performs any required post-processing on the
QueryResponse object provided. |
public QueryResponsePostProcessor(ActionProvider resourceActionProvider, MultiActionProvider derivedActionProvider)
public void processResponse(QueryResponse queryResponse)
QueryResponse object provided.
This implementation converts the resource URIs found in the QueryResponse Metacards using the ActionProvider injected in the constructor.
queryResponse - QueryResponse to process. Cannot be null.This work is licensed under a Creative Commons Attribution 4.0 International License.