@Singleton public class AnnotatedFilterRouteBuilder extends DefaultRouteBuilder implements BeanDefinitionProcessor<Filter>
ExecutableMethodProcessor for the Filter annotation.RouteBuilder.UriNamingStrategyCAMEL_CASE_NAMING_STRATEGY, conversionService, defaultCharset, executionHandleLocator, LOG, uriNamingStrategyID| Constructor and Description |
|---|
AnnotatedFilterRouteBuilder(BeanContext beanContext,
ExecutionHandleLocator executionHandleLocator,
RouteBuilder.UriNamingStrategy uriNamingStrategy,
ConversionService<?> conversionService,
ServerContextPathProvider contextPathProvider)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getPatterns(BeanDefinition<?> beanDefinition) |
void |
process(BeanDefinition<?> beanDefinition,
BeanContext beanContext)
The process method will be called for every
ExecutableMethod that is annotated with
the type parameter A. |
addFilter, addFilter, buildBeanRoute, buildRoute, buildRoute, DELETE, DELETE, DELETE, error, error, GET, GET, GET, getErrorRoutes, getExposedPorts, getFilterRoutes, getStatusRoutes, getUriNamingStrategy, getUriRoutes, HEAD, HEAD, HEAD, OPTIONS, OPTIONS, OPTIONS, PATCH, PATCH, PATCH, POST, POST, POST, PUT, PUT, PUT, resources, single, status, status, TRACE, TRACE, TRACEclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitDELETE, DELETE, DELETE, DELETE, DELETE, DELETE, error, error, error, error, GET, GET, GET, GET, GET, GET, HEAD, HEAD, HEAD, HEAD, HEAD, HEAD, OPTIONS, OPTIONS, OPTIONS, OPTIONS, OPTIONS, OPTIONS, PATCH, PATCH, PATCH, PATCH, PATCH, PATCH, POST, POST, POST, POST, POST, POST, PUT, PUT, PUT, PUT, PUT, PUT, resources, single, status, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE@Inject public AnnotatedFilterRouteBuilder(BeanContext beanContext, ExecutionHandleLocator executionHandleLocator, RouteBuilder.UriNamingStrategy uriNamingStrategy, ConversionService<?> conversionService, @Nullable ServerContextPathProvider contextPathProvider)
beanContext - The bean contextexecutionHandleLocator - The execution handler locatoruriNamingStrategy - The URI naming strategyconversionService - The conversion servicecontextPathProvider - The server context path providerpublic void process(BeanDefinition<?> beanDefinition, BeanContext beanContext)
AnnotationProcessorExecutableMethod that is annotated with
the type parameter A.process in interface AnnotationProcessor<Filter,BeanContext>beanDefinition - The bean definitionbeanContext - The object to be processedprotected String[] getPatterns(BeanDefinition<?> beanDefinition)
beanDefinition - The bean definition