Package org.apache.solr.api
Interface ApiSupport
-
- All Known Implementing Classes:
AnalysisRequestHandlerBase,AutoScalingHandler,AutoscalingHistoryHandler,BaseHandlerApiSupport,BlobHandler,CdcrRequestHandler,CollectionHandlerApi,CollectionsHandler,ConfigSetsHandler,ConfigSetsHandlerApi,ContentStreamHandlerBase,CoreAdminHandler,CoreAdminHandlerApi,DocumentAnalysisRequestHandler,DumpRequestHandler,ExportHandler,FieldAnalysisRequestHandler,FileFloatSource.ReloadCacheRequestHandler,GraphHandler,HealthCheckHandler,InfoHandler,LoggingHandler,LukeRequestHandler,MetricsCollectorHandler,MetricsHandler,MetricsHistoryHandler,MoreLikeThisHandler,NotFoundRequestHandler,PingRequestHandler,PluginInfoHandler,PropertiesRequestHandler,PublicKeyHandler,RealTimeGetHandler,ReplicationHandler,RequestHandlerBase,SchemaHandler,SearchHandler,SecurityConfHandler,SecurityConfHandlerLocal,SecurityConfHandlerZk,SegmentsInfoRequestHandler,ShowFileRequestHandler,SolrConfigHandler,SolrInfoMBeanHandler,SQLHandler,StandardRequestHandler,StreamHandler,SystemInfoHandler,TaggerRequestHandler,ThreadDumpHandler,UpdateRequestHandler,UpdateRequestHandlerApi,ZookeeperInfoHandler,ZookeeperStatusHandler
public interface ApiSupportThe interface that is implemented by a request handler to support the V2 end point
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<Api>getApis()It is possible to support multiple v2 apis by a single requesthandlerdefault BooleanregisterV1()Whether this should be made available at the regular legacy pathdefault BooleanregisterV2()Whether this request handler must be made available at the /v2/ path
-
-
-
Method Detail
-
getApis
Collection<Api> getApis()
It is possible to support multiple v2 apis by a single requesthandler- Returns:
- the list of v2 api implementations
-
registerV1
default Boolean registerV1()
Whether this should be made available at the regular legacy path
-
registerV2
default Boolean registerV2()
Whether this request handler must be made available at the /v2/ path
-
-