Package org.apache.solr.api
Interface ApiSupport
- All Known Implementing Classes:
ActiveTasksListHandler,AnalysisRequestHandlerBase,BaseHandlerApiSupport,CollectionsHandler,ConfigSetsHandler,ContentStreamHandlerBase,CoreAdminHandler,DocumentAnalysisRequestHandler,DumpRequestHandler,ExportHandler,FieldAnalysisRequestHandler,GraphHandler,HealthCheckHandler,InfoHandler,LoggingHandler,LukeRequestHandler,MetricsHandler,MoreLikeThisHandler,NotFoundRequestHandler,PingRequestHandler,PropertiesRequestHandler,PublicKeyHandler,QueryCancellationHandler,RealTimeGetHandler,ReplicationHandler,RequestHandlerBase,SchemaHandler,SearchHandler,SecurityConfHandler,SecurityConfHandlerLocal,SecurityConfHandlerZk,SegmentsInfoRequestHandler,ShowFileRequestHandler,SolrConfigHandler,StandardRequestHandler,StreamHandler,SystemInfoHandler,TaggerRequestHandler,TaskManagementHandler,ThreadDumpHandler,UpdateRequestHandler,V2UpdateRequestHandler,ZookeeperInfoHandler,ZookeeperStatusHandler
public interface ApiSupport
The interface that is implemented by a request handler to support the V2 end point
-
Method Summary
Modifier and TypeMethodDescriptiongetApis()Returns any (non-JAX-RS annotated) APIs associated with this request handler.default Collection<Class<? extends JerseyResource>> Returns any JAX-RS annotated v2 APIs associated with this request handler.default BooleanWhether this should be made available at the regular legacy pathdefault BooleanWhether this request handler must be made available at the /v2/ path
-
Method Details
-
getApis
Collection<Api> getApis()Returns any (non-JAX-RS annotated) APIs associated with this request handler.- See Also:
-
getJerseyResources
Returns any JAX-RS annotated v2 APIs associated with this request handler.- See Also:
-
registerV1
Whether this should be made available at the regular legacy path -
registerV2
Whether this request handler must be made available at the /v2/ path
-