public class BlobHandler extends RequestHandlerBase implements PluginInfoInitialized, PermissionNameProvider
PermissionNameProvider.NameSolrInfoBean.Category, SolrInfoBean.Groupappends, defaults, httpCaching, initArgs, invariants, metricManager, registryNameANY, NULL, valuesTYPE| Constructor and Description |
|---|
BlobHandler() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Api> |
getApis()
It is possible to support multiple v2 apis by a single requesthandler
|
String |
getDescription()
Simple one or two line description
|
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext ctx) |
SolrRequestHandler |
getSubHandler(String subPath)
Return a RequestHandler to handle a subpath from the path this handler is registered.
|
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
static void |
indexMap(SolrQueryRequest req,
SolrQueryResponse rsp,
Map<String,Object> doc) |
void |
init(PluginInfo info) |
Boolean |
registerV2()
Whether this request handler must be made available at the /v2/ path
|
getCategory, getInitArgs, getMetricNames, getMetricRegistry, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, handleRequest, init, initializeMetrics, setPluginInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricsSnapshot, registerMetricNameinitializeMetricsregisterV1public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class RequestHandlerBaseExceptionpublic static void indexMap(SolrQueryRequest req, SolrQueryResponse rsp, Map<String,Object> doc) throws IOException
IOExceptionpublic SolrRequestHandler getSubHandler(String subPath)
NestedRequestHandlergetSubHandler in interface NestedRequestHandlergetSubHandler in class RequestHandlerBasepublic String getDescription()
SolrInfoBeangetDescription in interface SolrInfoBeangetDescription in class RequestHandlerBasepublic void init(PluginInfo info)
init in interface PluginInfoInitializedpublic Boolean registerV2()
ApiSupportregisterV2 in interface ApiSupportpublic Collection<Api> getApis()
ApiSupportgetApis in interface ApiSupportgetApis in class RequestHandlerBasepublic PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
getPermissionName in interface PermissionNameProviderCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.