Class AnnotatedApi

java.lang.Object
org.apache.solr.api.Api
org.apache.solr.api.AnnotatedApi
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.solr.common.SpecProvider, PermissionNameProvider

public class AnnotatedApi extends Api implements PermissionNameProvider, Closeable
This class implements an Api just from an annotated java class The class must have an annotation EndPoint Each method must have an annotation Command The methods that implement a command should have the first 2 parameters SolrQueryRequest and SolrQueryResponse or it may optionally have a third parameter which could be a java class annotated with jackson annotations. The third parameter is only valid if it is using a json command payload