public class ConfigSetsHandler extends RequestHandlerBase implements PermissionNameProvider
SolrRequestHandler for ConfigSets API requests.PermissionNameProvider.NameSolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description |
|---|---|
protected CoreContainer |
coreContainer |
static long |
DEFAULT_ZK_TIMEOUT |
appends, defaults, httpCaching, initArgs, invariants, solrMetricsContextANY, NULL, valuesTYPE| Constructor and Description |
|---|
ConfigSetsHandler(CoreContainer coreContainer)
Overloaded ctor to inject CoreContainer into the handler.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Api> |
getApis()
It is possible to support multiple v2 apis by a single requesthandler
|
SolrInfoBean.Category |
getCategory()
Category of this component
|
String |
getDescription()
Simple one or two line description
|
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext ctx) |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
Boolean |
registerV2()
Whether this request handler must be made available at the /v2/ path
|
protected void |
sendToZk(SolrQueryResponse rsp,
org.apache.solr.handler.admin.ConfigSetsHandler.ConfigSetOperation operation,
Map<String,Object> result) |
getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, setPluginInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNameclose, getUniqueMetricTag, initializeMetricsregisterV1protected final CoreContainer coreContainer
public static long DEFAULT_ZK_TIMEOUT
public ConfigSetsHandler(CoreContainer coreContainer)
coreContainer - Core Container of the solr webapp installed.public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class RequestHandlerBaseExceptionprotected void sendToZk(SolrQueryResponse rsp, org.apache.solr.handler.admin.ConfigSetsHandler.ConfigSetOperation operation, Map<String,Object> result) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic String getDescription()
SolrInfoBeangetDescription in interface SolrInfoBeangetDescription in class RequestHandlerBasepublic SolrInfoBean.Category getCategory()
SolrInfoBeangetCategory in interface SolrInfoBeangetCategory in class RequestHandlerBasepublic Collection<Api> getApis()
ApiSupportgetApis in interface ApiSupportgetApis in class RequestHandlerBasepublic Boolean registerV2()
ApiSupportregisterV2 in interface ApiSupportpublic PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
getPermissionName in interface PermissionNameProviderCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.