public class WebServiceSelectorRequestHandler extends BaseDataRequestHandler
WebServiceHandlerSelector
mapper, writer
Constructor and Description |
---|
WebServiceSelectorRequestHandler(DruidWebService webService,
DataRequestHandler webserviceNext,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Constructor.
|
WebServiceSelectorRequestHandler(WebServiceHandlerSelector handlerSelector,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleRequest(RequestContext context,
DataApiRequest request,
DruidAggregationQuery<?> druidQuery,
ResponseProcessor response)
Handle the response, passing the request down the chain as necessary.
|
public WebServiceSelectorRequestHandler(DruidWebService webService, DataRequestHandler webserviceNext, com.fasterxml.jackson.databind.ObjectMapper mapper)
webService
- UI Web ServicewebserviceNext
- Handler for the UI pathmapper
- Mapper to use when processing JSONpublic WebServiceSelectorRequestHandler(WebServiceHandlerSelector handlerSelector, com.fasterxml.jackson.databind.ObjectMapper mapper)
handlerSelector
- Handler selector to use when selecting a web servicemapper
- Mapper to use when processing JSONpublic boolean handleRequest(RequestContext context, DataApiRequest request, DruidAggregationQuery<?> druidQuery, ResponseProcessor response)
DataRequestHandler
context
- The context for the Requestrequest
- The Api Request ObjectdruidQuery
- The druid queryresponse
- The Async responseCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.