public class QueryResource extends Object
Constructor and Description |
---|
QueryResource(ServerConfig config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
com.fasterxml.jackson.databind.ObjectMapper smileMapper,
QuerySegmentWalker texasRanger,
com.metamx.emitter.service.ServiceEmitter emitter,
RequestLogger requestLogger,
QueryManager queryManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
doPost(InputStream in,
String pretty,
javax.servlet.http.HttpServletRequest req) |
javax.ws.rs.core.Response |
getServer(String queryId) |
@Inject public QueryResource(ServerConfig config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, com.fasterxml.jackson.databind.ObjectMapper smileMapper, QuerySegmentWalker texasRanger, com.metamx.emitter.service.ServiceEmitter emitter, RequestLogger requestLogger, QueryManager queryManager)
public javax.ws.rs.core.Response getServer(String queryId)
public javax.ws.rs.core.Response doPost(InputStream in, String pretty, @Context javax.servlet.http.HttpServletRequest req) throws IOException
IOException
Copyright © 2011–2015. All rights reserved.