@SolrThreadSafe public class V2HttpCall extends HttpSolrCall
Modifier and Type | Class and Description |
---|---|
static class |
V2HttpCall.CompositeApi |
action, collectionsList, config, core, cores, coreUrl, handler, INTERNAL_REQUEST_COUNT, invalidStates, origCorename, ORIGINAL_USER_PRINCIPAL_HEADER, path, queryParams, random, req, requestType, response, retry, solrDispatchFilter, solrReq
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 ValidatingJsonMap |
getSpec() |
Map<String,String> |
getUrlParts() |
protected Map<String,JsonSchemaValidator> |
getValidators() |
protected void |
handleAdmin(SolrQueryResponse solrResp) |
protected void |
init() |
protected void |
parseRequest() |
protected DocCollection |
resolveDocCollection(String collectionStr)
Lookup the collection from the collection string (maybe comma delimited).
|
addCollectionParamIfNeeded, autoCreateSystemColl, call, extractHandlerFromURLPath, extractRemotePath, getAliases, getCollectionsList, getCommands, getCore, getCoreByCollection, getPath, getQueryParams, getRemoteCoreUrl, getReq, getRequestType, getResponseWriter, resolveCollectionListOrAlias, 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 resolveDocCollection(String collectionStr)
HttpSolrCall.collectionsList
by side-effect.
if secondTry
is false then we'll potentially recursively try this all one more time while ensuring
the alias and collection info is sync'ed from ZK.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 ValidatingJsonMap getSpec()
getSpec
in class HttpSolrCall
protected Map<String,JsonSchemaValidator> getValidators()
getValidators
in class HttpSolrCall
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.