Package io.micronaut.websocket.bind
Class WebSocketStateBinderRegistry
java.lang.Object
io.micronaut.websocket.bind.WebSocketStateBinderRegistry
- All Implemented Interfaces:
ArgumentBinderRegistry<WebSocketState>
@Internal
public class WebSocketStateBinderRegistry
extends Object
implements ArgumentBinderRegistry<WebSocketState>
Handles binding WebSocket arguments from
WebSocketState
.- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorDescriptionWebSocketStateBinderRegistry
(RequestBinderRegistry requestBinderRegistry, ConversionService conversionService) Default constructor. -
Method Summary
Modifier and TypeMethodDescription<T> Optional<ArgumentBinder<T,
WebSocketState>> findArgumentBinder
(Argument<T> argument) Locate anArgumentBinder
for the given argument.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.bind.ArgumentBinderRegistry
addArgumentBinder, addRequestArgumentBinder, findArgumentBinder
-
Constructor Details
-
WebSocketStateBinderRegistry
public WebSocketStateBinderRegistry(RequestBinderRegistry requestBinderRegistry, ConversionService conversionService) Default constructor.- Parameters:
requestBinderRegistry
- The request binder registryconversionService
- The conversionService
-
-
Method Details
-
findArgumentBinder
Description copied from interface:ArgumentBinderRegistry
Locate anArgumentBinder
for the given argument.- Specified by:
findArgumentBinder
in interfaceArgumentBinderRegistry<WebSocketState>
- Type Parameters:
T
- The argument type- Parameters:
argument
- The argument- Returns:
- An
Optional
ofArgumentBinder
-