@Internal public class WebSocketStateBinderRegistry extends Object implements ArgumentBinderRegistry<WebSocketState>
WebSocketState
.Constructor and Description |
---|
WebSocketStateBinderRegistry(RequestBinderRegistry requestBinderRegistry)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
<T,ST> void |
addRequestArgumentBinder(ArgumentBinder<T,ST> binder)
Adds a request argument binder to the registry.
|
<T> Optional<ArgumentBinder<T,WebSocketState>> |
findArgumentBinder(Argument<T> argument,
WebSocketState source)
Locate an
ArgumentBinder for the given argument and source type. |
public WebSocketStateBinderRegistry(RequestBinderRegistry requestBinderRegistry)
requestBinderRegistry
- The request binder registrypublic <T,ST> void addRequestArgumentBinder(ArgumentBinder<T,ST> binder)
ArgumentBinderRegistry
addRequestArgumentBinder
in interface ArgumentBinderRegistry<WebSocketState>
T
- The argument typeST
- The source typebinder
- The binderpublic <T> Optional<ArgumentBinder<T,WebSocketState>> findArgumentBinder(Argument<T> argument, WebSocketState source)
ArgumentBinderRegistry
ArgumentBinder
for the given argument and source type.findArgumentBinder
in interface ArgumentBinderRegistry<WebSocketState>
T
- The argument typeargument
- The argumentsource
- The sourceOptional
of ArgumentBinder