public interface ResponseProcessorFactory
ResponseProcessorrelies on things that are directly constructed at request time (i.e. the
DataApiRequest). Therefore, we can't inject a `ResponseProcessor` directly. We can however inject a factory.
|Modifier and Type||Method and Description|
Constructs a custom ResponseProcessor.
ResponseProcessor build(DataApiRequest apiRequest, rx.subjects.Subject<PreResponse,PreResponse> responseEmitter, DruidResponseParser druidResponseParser, ObjectMappersSuite objectMappers, HttpResponseMaker httpResponseMaker)
apiRequest- The current request
responseEmitter- Generates the response to be processed
druidResponseParser- Transforms a druid response into a
objectMappers- Dictates how to format
httpResponseMaker- Crafts an HTTP response to be sent back to the user from a ResultSet or error message
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.