public class V2HttpCall extends HttpSolrCall
Modifier and Type | Class and Description |
---|---|
static class |
V2HttpCall.CompositeApi |
action, aliases, collectionsList, config, core, corename, cores, coreUrl, handler, invalidStates, origCorename, path, queryParams, req, requestType, response, retry, solrDispatchFilter, solrReq, usingAliases
Constructor and Description |
---|
V2HttpCall(SolrDispatchFilter solrDispatchFilter,
CoreContainer cc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean retry) |
Modifier and Type | Method and Description |
---|---|
protected Object |
_getHandler() |
protected void |
execute(SolrQueryResponse rsp) |
static Api |
getApiInfo(PluginBag<SolrRequestHandler> requestHandlers,
String path,
String method,
String fullPath,
Map<String,String> parts) |
protected DocCollection |
getDocCollection(String collectionName) |
protected QueryResponseWriter |
getResponseWriter() |
protected ValidatingJsonMap |
getSpec() |
Map<String,String> |
getUrlParts() |
protected Map<String,JsonSchemaValidator> |
getValidators() |
protected void |
handleAdmin(SolrQueryResponse solrResp) |
protected void |
init() |
protected void |
parseRequest() |
autoCreateSystemColl, call, extractHandlerFromURLPath, extractRemotePath, getCollectionsList, getCommands, getCore, getCoreByCollection, getPath, getQueryParams, getReq, getRequestType, lookupAliases, processAliases, sendError, sendError
public V2HttpCall(SolrDispatchFilter solrDispatchFilter, CoreContainer cc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean retry)
protected void init() throws Exception
init
in class HttpSolrCall
Exception
protected DocCollection getDocCollection(String collectionName)
public static Api getApiInfo(PluginBag<SolrRequestHandler> requestHandlers, String path, String method, String fullPath, Map<String,String> parts)
protected void handleAdmin(SolrQueryResponse solrResp)
handleAdmin
in class HttpSolrCall
protected void execute(SolrQueryResponse rsp)
execute
in class HttpSolrCall
protected Object _getHandler()
_getHandler
in class HttpSolrCall
protected QueryResponseWriter getResponseWriter()
getResponseWriter
in class HttpSolrCall
protected ValidatingJsonMap getSpec()
getSpec
in class HttpSolrCall
protected Map<String,JsonSchemaValidator> getValidators()
getValidators
in class HttpSolrCall
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.