public class WebServiceHandler extends Object implements DataRequestHandler
Constructor and Description |
---|
WebServiceHandler(DruidWebService webService,
DataRequestHandler next)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DruidWebService |
getWebService() |
boolean |
handleRequest(RequestContext context,
DataApiRequest request,
DruidAggregationQuery<?> druidQuery,
ResponseProcessor response)
Handle the response, passing the request down the chain as necessary.
|
public WebServiceHandler(DruidWebService webService, DataRequestHandler next)
webService
- WebService to provide when askednext
- Next Handler in the chainpublic DruidWebService getWebService()
public boolean handleRequest(RequestContext context, DataApiRequest request, DruidAggregationQuery<?> druidQuery, ResponseProcessor response)
DataRequestHandler
handleRequest
in interface DataRequestHandler
context
- The context for the Requestrequest
- The Api Request ObjectdruidQuery
- The druid queryresponse
- The Async responseCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.