@Singleton public class ReadEndpointRouteBuilder extends DefaultRouteBuilder
RouteBuilder.UriNamingStrategyCAMEL_CASE_NAMING_STRATEGY, conversionService, defaultCharset, executionHandleLocator, LOG, uriNamingStrategyID| Constructor and Description | 
|---|
| ReadEndpointRouteBuilder(ApplicationContext beanContext,
                        RouteBuilder.UriNamingStrategy uriNamingStrategy,
                        ConversionService<?> conversionService,
                        EndpointDefaultConfiguration endpointDefaultConfiguration) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected UriTemplate | buildUriTemplate(ExecutableMethod<?,?> method,
                String id) | 
| protected Class<? extends Annotation> | getSupportedAnnotation() | 
| protected boolean | isPathParameter(Argument argument) | 
| boolean | isRunning() | 
| 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,
             String id,
             Integer port)Register a route. | 
| protected Optional<String> | resolveActiveEndPointId(Class<?> declaringType) | 
| io.micronaut.management.endpoint.processors.AbstractEndpointRouteBuilder | start()Starts the lifecyle component. | 
| io.micronaut.management.endpoint.processors.AbstractEndpointRouteBuilder | stop()Clears endpoint ids information. | 
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 ReadEndpointRouteBuilder(ApplicationContext beanContext, RouteBuilder.UriNamingStrategy uriNamingStrategy, ConversionService<?> conversionService, EndpointDefaultConfiguration endpointDefaultConfiguration)
beanContext - The application contexturiNamingStrategy - The URI naming strategyconversionService - The conversion serviceendpointDefaultConfiguration - Endpoints default Configurationprotected Class<? extends Annotation> getSupportedAnnotation()
protected void registerRoute(ExecutableMethod<?,?> method, String id, Integer port)
method - The ExecutableMethodid - The route idport - The port@NonNull public io.micronaut.management.endpoint.processors.AbstractEndpointRouteBuilder start()
LifeCycle@NonNull public io.micronaut.management.endpoint.processors.AbstractEndpointRouteBuilder stop()
public boolean isRunning()
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 Optional<String> resolveActiveEndPointId(Class<?> declaringType)
declaringType - The typeprotected UriTemplate buildUriTemplate(ExecutableMethod<?,?> method, String id)
method - The ExecutableMethodid - The route idUriTemplate