public class ResultSetResponseProcessorFactory extends Object implements ResponseProcessorFactory
ResultSetResponseProcessor
.Constructor and Description |
---|
ResultSetResponseProcessorFactory() |
Modifier and Type | Method and Description |
---|---|
ResponseProcessor |
build(DataApiRequest apiRequest,
rx.subjects.Subject<PreResponse,PreResponse> responseEmitter,
DruidResponseParser druidResponseParser,
ObjectMappersSuite objectMappers,
HttpResponseMaker httpResponseMaker)
Constructs a custom ResponseProcessor.
|
public ResponseProcessor build(DataApiRequest apiRequest, rx.subjects.Subject<PreResponse,PreResponse> responseEmitter, DruidResponseParser druidResponseParser, ObjectMappersSuite objectMappers, HttpResponseMaker httpResponseMaker)
ResponseProcessorFactory
build
in interface ResponseProcessorFactory
apiRequest
- The current requestresponseEmitter
- Generates the response to be processeddruidResponseParser
- Transforms a druid response into a ResultSet
objectMappers
- Dictates how to formathttpResponseMaker
- Crafts an HTTP response to be sent back to the user from a ResultSet or error messageCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.