Describes a class that stores and retrieves fetcher interceptor instances based on a class
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<GraphQLFetcherInterceptor> |
getInterceptors(java.lang.Class clazz) @param clazz The class to search for |
|
java.util.List<GraphQLSchemaInterceptor> |
getInterceptors() @param clazz The class to search for |
|
void |
registerInterceptor(java.lang.Class clazz, GraphQLFetcherInterceptor interceptor) Registers the interceptor |
|
void |
registerInterceptor(GraphQLSchemaInterceptor interceptor) Registers the interceptor |
clazz
- The class to search for
clazz
- The class to search forRegisters the interceptor
clazz
- The class operations should be intercepted forinterceptor
- The interceptor to registerRegisters the interceptor
interceptor
- The interceptor to register