Package org.apache.solr.handler.admin
Class BaseHandlerApiSupport
java.lang.Object
org.apache.solr.handler.admin.BaseHandlerApiSupport
- All Implemented Interfaces:
ApiSupport
This is a utility class to provide an easy mapping of request handlers which support multiple
commands to the V2 API format (core admin api, collections api). This helps in automatically
mapping paths to actions and old parameter names to new parameter names
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<org.apache.solr.client.solrj.SolrRequest.METHOD, Map<org.apache.solr.client.solrj.request.ApiMapping.V2EndPoint, List<BaseHandlerApiSupport.ApiCommand>>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApis()Returns any (non-JAX-RS annotated) APIs associated with this request handler.protected abstract Collection<BaseHandlerApiSupport.ApiCommand> protected abstract Collection<org.apache.solr.client.solrj.request.ApiMapping.V2EndPoint> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.api.ApiSupport
getJerseyResources, registerV1, registerV2
-
Field Details
-
commandsMapping
protected final Map<org.apache.solr.client.solrj.SolrRequest.METHOD,Map<org.apache.solr.client.solrj.request.ApiMapping.V2EndPoint, commandsMappingList<BaseHandlerApiSupport.ApiCommand>>>
-
-
Constructor Details
-
BaseHandlerApiSupport
protected BaseHandlerApiSupport()
-
-
Method Details
-
getApis
Description copied from interface:ApiSupportReturns any (non-JAX-RS annotated) APIs associated with this request handler.- Specified by:
getApisin interfaceApiSupport- See Also:
-
getCommands
-
getEndPoints
protected abstract Collection<org.apache.solr.client.solrj.request.ApiMapping.V2EndPoint> getEndPoints()
-