public interface QueryResponseTransformer
QueryResponseTransformer
is used to transform a list of Result
objects from a SourceResponse
. For example, if the list of
results contains XML data, the entire list can be transformed to HTML data.Modifier and Type | Method and Description |
---|---|
BinaryContent |
transform(SourceResponse upstreamResponse,
Map<String,Serializable> arguments)
Transforms the list of results into the
BinaryContent . |
BinaryContent transform(SourceResponse upstreamResponse, Map<String,Serializable> arguments) throws CatalogTransformerException
BinaryContent
.arguments
- the arguments that may be used to execute the transformCatalogTransformerException
- if the response cannot be transformedThis work is licensed under a Creative Commons Attribution 4.0 International License.