Package org.apache.solr.handler
Class BlobHandler
- java.lang.Object
 - 
- org.apache.solr.handler.RequestHandlerBase
 - 
- org.apache.solr.handler.BlobHandler
 
 
 
- 
- All Implemented Interfaces:
 AutoCloseable,ApiSupport,SolrInfoBean,NestedRequestHandler,SolrMetricProducer,SolrRequestHandler,PermissionNameProvider,PluginInfoInitialized
public class BlobHandler extends RequestHandlerBase implements PluginInfoInitialized, PermissionNameProvider
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.Name 
- 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group 
 - 
 
- 
Field Summary
- 
Fields inherited from class org.apache.solr.handler.RequestHandlerBase
appends, defaults, httpCaching, initArgs, invariants, solrMetricsContext 
- 
Fields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, values 
- 
Fields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BlobHandler() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Api>getApis()It is possible to support multiple v2 apis by a single requesthandlerStringgetDescription()Simple one or two line descriptionPermissionNameProvider.NamegetPermissionName(AuthorizationContext ctx)SolrRequestHandlergetSubHandler(String subPath)Return a RequestHandler to handle a subpath from the path this handler is registered.voidhandleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)static voidindexMap(SolrQueryRequest req, SolrQueryResponse rsp, Map<String,Object> doc)voidinit(PluginInfo info)BooleanregisterV2()Whether this request handler must be made available at the /v2/ path- 
Methods inherited from class org.apache.solr.handler.RequestHandlerBase
getCategory, getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, handleRequest, init, initializeMetrics, setPluginInfo 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.apache.solr.api.ApiSupport
registerV1 
- 
Methods inherited from interface org.apache.solr.core.SolrInfoBean
getMetricRegistry, getMetricsSnapshot, registerMetricName 
- 
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close, initializeMetrics 
 - 
 
 - 
 
- 
- 
Method Detail
- 
handleRequestBody
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Specified by:
 handleRequestBodyin classRequestHandlerBase- Throws:
 Exception
 
- 
indexMap
public static void indexMap(SolrQueryRequest req, SolrQueryResponse rsp, Map<String,Object> doc) throws IOException
- Throws:
 IOException
 
- 
getSubHandler
public SolrRequestHandler getSubHandler(String subPath)
Description copied from interface:NestedRequestHandlerReturn a RequestHandler to handle a subpath from the path this handler is registered.- Specified by:
 getSubHandlerin interfaceNestedRequestHandler- Overrides:
 getSubHandlerin classRequestHandlerBase
 
- 
getDescription
public String getDescription()
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
 getDescriptionin interfaceSolrInfoBean- Specified by:
 getDescriptionin classRequestHandlerBase
 
- 
init
public void init(PluginInfo info)
- Specified by:
 initin interfacePluginInfoInitialized
 
- 
registerV2
public Boolean registerV2()
Description copied from interface:ApiSupportWhether this request handler must be made available at the /v2/ path- Specified by:
 registerV2in interfaceApiSupport
 
- 
getApis
public Collection<Api> getApis()
Description copied from interface:ApiSupportIt is possible to support multiple v2 apis by a single requesthandler- Specified by:
 getApisin interfaceApiSupport- Overrides:
 getApisin classRequestHandlerBase- Returns:
 - the list of v2 api implementations
 
 
- 
getPermissionName
public PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
- Specified by:
 getPermissionNamein interfacePermissionNameProvider
 
 - 
 
 -