public class BrokerQueryResource extends QueryResource
QueryResource.ResponseContext
APPLICATION_SMILE, authConfig, authorizerMapper, HEADER_ETAG, HEADER_IF_NONE_MATCH, jsonMapper, log, queryLifecycleFactory, queryManager, RESPONSE_CTX_HEADER_LEN_LIMIT, serializeDateTimeAsLongJsonMapper, serializeDateTimeAsLongSmileMapper, smileMapper
Constructor and Description |
---|
BrokerQueryResource(QueryLifecycleFactory queryLifecycleFactory,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.fasterxml.jackson.databind.ObjectMapper smileMapper,
QueryManager queryManager,
AuthConfig authConfig,
AuthorizerMapper authorizerMapper,
GenericQueryMetricsFactory queryMetricsFactory,
TimelineServerView brokerServerView) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getQueryTargets(InputStream in,
String pretty,
int numCandidates,
javax.servlet.http.HttpServletRequest req) |
cancelQuery, createContext, doPost, getFailedQueryCount, getInterruptedQueryCount, getSuccessfulQueryCount, serializeDataTimeAsLong
@Inject public BrokerQueryResource(QueryLifecycleFactory queryLifecycleFactory, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, QueryManager queryManager, AuthConfig authConfig, AuthorizerMapper authorizerMapper, GenericQueryMetricsFactory queryMetricsFactory, TimelineServerView brokerServerView)
public javax.ws.rs.core.Response getQueryTargets(InputStream in, String pretty, int numCandidates, @Context javax.servlet.http.HttpServletRequest req) throws IOException
IOException
Copyright © 2011–2018. All rights reserved.