Class ServerWebSocketProcessor
java.lang.Object
io.micronaut.web.router.DefaultRouteBuilder
io.micronaut.http.server.websocket.ServerWebSocketProcessor
- All Implemented Interfaces:
AnnotationProcessor<ServerWebSocket,,ExecutableMethod<?, ?>> ExecutableMethodProcessor<ServerWebSocket>,RouteBuilder
@Singleton
@Internal
@Requires(classes={ServerWebSocket.class,WebSocketBeanRegistry.class})
public class ServerWebSocketProcessor
extends DefaultRouteBuilder
implements ExecutableMethodProcessor<ServerWebSocket>
A processor that exposes WebSocket URIs via the router.
- Since:
- 1.0
- Author:
- graemerocher
-
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, uriNamingStrategyFields inherited from interface io.micronaut.web.router.RouteBuilder
ID -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(BeanDefinition<?> beanDefinition, ExecutableMethod<?, ?> method) The process method will be called for everyExecutableMethodthat 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, TRACEMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Method Details
-
process
Description copied from interface:ExecutableMethodProcessorThe process method will be called for everyExecutableMethodthat is annotated with the type parameter A.- Specified by:
processin interfaceAnnotationProcessor<ServerWebSocket,ExecutableMethod<?, ?>> - Specified by:
processin interfaceExecutableMethodProcessor<ServerWebSocket>- Parameters:
beanDefinition- The bean definition to processmethod- The executable method
-