Package org.apache.solr.api
Class ApiBag.ReqHandlerToApi
- java.lang.Object
-
- org.apache.solr.api.Api
-
- org.apache.solr.api.ApiBag.ReqHandlerToApi
-
- All Implemented Interfaces:
SpecProvider
,PermissionNameProvider
- Enclosing class:
- ApiBag
public static class ApiBag.ReqHandlerToApi extends Api implements PermissionNameProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.Name
-
-
Field Summary
-
Fields inherited from class org.apache.solr.api.Api
commandSchema, spec
-
Fields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, values
-
-
Constructor Summary
Constructors Constructor Description ReqHandlerToApi(SolrRequestHandler rh, SpecProvider spec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(SolrQueryRequest req, SolrQueryResponse rsp)
The method that gets called for each requestPermissionNameProvider.Name
getPermissionName(AuthorizationContext ctx)
-
Methods inherited from class org.apache.solr.api.Api
getCommandSchema, getSpec
-
-
-
-
Constructor Detail
-
ReqHandlerToApi
public ReqHandlerToApi(SolrRequestHandler rh, SpecProvider spec)
-
-
Method Detail
-
call
public void call(SolrQueryRequest req, SolrQueryResponse rsp)
Description copied from class:Api
The method that gets called for each request
-
getPermissionName
public PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
- Specified by:
getPermissionName
in interfacePermissionNameProvider
-
-