@Singleton public class WriteEndpointRouteBuilder extends DefaultRouteBuilder
RouteBuilder.UriNamingStrategyCAMEL_CASE_NAMING_STRATEGY, conversionService, defaultCharset, executionHandleLocator, LOG, uriNamingStrategyID| Constructor and Description | 
|---|
| WriteEndpointRouteBuilder(ApplicationContext beanContext,
                         RouteBuilder.UriNamingStrategy uriNamingStrategy,
                         ConversionService<?> conversionService,
                         EndpointDefaultConfiguration endpointDefaultConfiguration) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected UriTemplate | buildUriTemplate(ExecutableMethod<?,?> method,
                java.lang.String id) | 
| protected java.lang.Class<? extends java.lang.annotation.Annotation> | getSupportedAnnotation() | 
| protected boolean | isPathParameter(Argument argument) | 
| void | onComplete()Clears endpoint ids information. | 
| void | process(BeanDefinition<?> beanDefinition,
       ExecutableMethod<?,?> method)The process method will be called for every  ExecutableMethodthat is annotated with the type parameter A. | 
| protected void | registerRoute(ExecutableMethod<?,?> method,
             java.lang.String id,
             java.lang.Integer port)Register a route. | 
| protected java.util.Optional<java.lang.String> | resolveActiveEndPointId(java.lang.Class<?> declaringType) | 
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, TRACEpublic WriteEndpointRouteBuilder(ApplicationContext beanContext, RouteBuilder.UriNamingStrategy uriNamingStrategy, ConversionService<?> conversionService, EndpointDefaultConfiguration endpointDefaultConfiguration)
beanContext - The application contexturiNamingStrategy - The URI naming strategyconversionService - The conversion serviceendpointDefaultConfiguration - Endpoints default Configurationprotected java.lang.Class<? extends java.lang.annotation.Annotation> getSupportedAnnotation()
protected void registerRoute(ExecutableMethod<?,?> method, java.lang.String id, java.lang.Integer port)
method - The ExecutableMethodid - The route idport - The portprotected boolean isPathParameter(Argument argument)
argument - An Argumentpublic final void onComplete()
onComplete in interface CompletableSubscriber.onComplete()public void process(BeanDefinition<?> beanDefinition, ExecutableMethod<?,?> method)
ExecutableMethodProcessorExecutableMethod that is annotated with the type parameter A.process in interface AnnotationProcessor<Endpoint,ExecutableMethod<?,?>>process in interface ExecutableMethodProcessor<Endpoint>beanDefinition - The bean definition to processmethod - The executable methodprotected java.util.Optional<java.lang.String> resolveActiveEndPointId(java.lang.Class<?> declaringType)
declaringType - The typeprotected UriTemplate buildUriTemplate(ExecutableMethod<?,?> method, java.lang.String id)
method - The ExecutableMethodid - The route idUriTemplate