public abstract class BaseHandlerApiSupport extends Object implements ApiSupport
Modifier and Type | Class and Description |
---|---|
static interface |
BaseHandlerApiSupport.ApiCommand |
Modifier and Type | Field and Description |
---|---|
protected Map<SolrRequest.METHOD,Map<CollectionApiMapping.V2EndPoint,List<BaseHandlerApiSupport.ApiCommand>>> |
commandsMapping |
Modifier | Constructor and Description |
---|---|
protected |
BaseHandlerApiSupport() |
Modifier and Type | Method and Description |
---|---|
Collection<Api> |
getApis()
It is possible to support multiple v2 apis by a single requesthandler
|
protected abstract Collection<BaseHandlerApiSupport.ApiCommand> |
getCommands() |
protected abstract Collection<CollectionApiMapping.V2EndPoint> |
getEndPoints() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
registerV1, registerV2
protected final Map<SolrRequest.METHOD,Map<CollectionApiMapping.V2EndPoint,List<BaseHandlerApiSupport.ApiCommand>>> commandsMapping
public Collection<Api> getApis()
ApiSupport
getApis
in interface ApiSupport
protected abstract Collection<BaseHandlerApiSupport.ApiCommand> getCommands()
protected abstract Collection<CollectionApiMapping.V2EndPoint> getEndPoints()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.