Package io.micronaut.web.router
Class ServerFilterRouteBuilder
java.lang.Object
io.micronaut.web.router.DefaultRouteBuilder
io.micronaut.web.router.ServerFilterRouteBuilder
- All Implemented Interfaces:
AnnotationProcessor<ServerFilter,
,ExecutableMethod<?, ?>> ExecutableMethodProcessor<ServerFilter>
,RouteBuilder
@Singleton
public class ServerFilterRouteBuilder
extends DefaultRouteBuilder
implements ExecutableMethodProcessor<ServerFilter>
RouteBuilder
for ServerFilter
s.- Since:
- 4.0.0
- Author:
- Jonas Konrad
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.web.router.RouteBuilder
RouteBuilder.UriNamingStrategy
-
Field Summary
Fields inherited from class io.micronaut.web.router.DefaultRouteBuilder
CAMEL_CASE_NAMING_STRATEGY, conversionService, defaultCharset, executionHandleLocator, LOG, uriNamingStrategy
Fields inherited from interface io.micronaut.web.router.RouteBuilder
ID
-
Constructor Summary
ConstructorDescriptionServerFilterRouteBuilder
(ExecutionHandleLocator executionHandleLocator, RouteBuilder.UriNamingStrategy uriNamingStrategy, ConversionService conversionService, BeanContext beanContext, @Nullable ServerContextPathProvider contextPathProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(BeanDefinition<?> beanDefinition, ExecutableMethod<?, ?> method) The process method will be called for everyExecutableMethod
that is annotated with the type parameter A.Methods inherited from class io.micronaut.web.router.DefaultRouteBuilder
addFilter, buildBeanRoute, buildRoute, 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, TRACE
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.web.router.RouteBuilder
DELETE, 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
-
Constructor Details
-
ServerFilterRouteBuilder
public ServerFilterRouteBuilder(ExecutionHandleLocator executionHandleLocator, RouteBuilder.UriNamingStrategy uriNamingStrategy, ConversionService conversionService, BeanContext beanContext, @Nullable @Nullable ServerContextPathProvider contextPathProvider) - Parameters:
executionHandleLocator
- The execution handler locatoruriNamingStrategy
- The URI naming strategyconversionService
- The conversion servicebeanContext
- The bean contextcontextPathProvider
- The server context path provider
-
-
Method Details
-
process
Description copied from interface:ExecutableMethodProcessor
The process method will be called for everyExecutableMethod
that is annotated with the type parameter A.- Specified by:
process
in interfaceAnnotationProcessor<ServerFilter,
ExecutableMethod<?, ?>> - Specified by:
process
in interfaceExecutableMethodProcessor<ServerFilter>
- Parameters:
beanDefinition
- The bean definition to processmethod
- The executable method
-