public class AsyncWebServiceRequestHandler extends BaseDataRequestHandler
Modifier and Type | Field and Description |
---|---|
protected DruidWebService |
druidWebService |
mapper, writer
Constructor and Description |
---|
AsyncWebServiceRequestHandler(DruidWebService druidWebService,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Build the request handler.
|
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.
|
@NotNull protected final DruidWebService druidWebService
public AsyncWebServiceRequestHandler(DruidWebService druidWebService, com.fasterxml.jackson.databind.ObjectMapper mapper)
druidWebService
- The target web service for the requestmapper
- The mapper for all JSON processingpublic 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.