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 Type
    Method
    Description
    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 Boolean
    Whether this should be made available at the regular legacy path
    default Boolean
    Whether 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

      default Collection<Class<? extends JerseyResource>> getJerseyResources()
      Returns any JAX-RS annotated v2 APIs associated with this request handler.
      See Also:
    • 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