Class WebSocketStateBinderRegistry

java.lang.Object
io.micronaut.websocket.bind.WebSocketStateBinderRegistry
All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinderRegistry<WebSocketState>

@Internal public class WebSocketStateBinderRegistry extends Object implements io.micronaut.core.bind.ArgumentBinderRegistry<WebSocketState>
Handles binding WebSocket arguments from WebSocketState.
Since:
1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebSocketStateBinderRegistry(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry, io.micronaut.core.convert.ConversionService conversionService)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Optional<io.micronaut.core.bind.ArgumentBinder<T,WebSocketState>>
    findArgumentBinder(io.micronaut.core.type.Argument<T> 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(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry, io.micronaut.core.convert.ConversionService conversionService)
      Default constructor.
      Parameters:
      requestBinderRegistry - The request binder registry
      conversionService - The conversionService
  • Method Details

    • findArgumentBinder

      public <T> Optional<io.micronaut.core.bind.ArgumentBinder<T,WebSocketState>> findArgumentBinder(io.micronaut.core.type.Argument<T> argument)
      Specified by:
      findArgumentBinder in interface io.micronaut.core.bind.ArgumentBinderRegistry<WebSocketState>