Class WebSocketStateBinderRegistry

  • All Implemented Interfaces:
    io.micronaut.core.bind.ArgumentBinderRegistry<WebSocketState>

    @Internal
    public class WebSocketStateBinderRegistry
    extends java.lang.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)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T,​ST>
      void
      addRequestArgumentBinder​(io.micronaut.core.bind.ArgumentBinder<T,​ST> binder)  
      <T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,​WebSocketState>> findArgumentBinder​(io.micronaut.core.type.Argument<T> argument, WebSocketState source)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebSocketStateBinderRegistry

        public WebSocketStateBinderRegistry​(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry)
        Default constructor.
        Parameters:
        requestBinderRegistry - The request binder registry
    • Method Detail

      • addRequestArgumentBinder

        public <T,​ST> void addRequestArgumentBinder​(io.micronaut.core.bind.ArgumentBinder<T,​ST> binder)
        Specified by:
        addRequestArgumentBinder in interface io.micronaut.core.bind.ArgumentBinderRegistry<WebSocketState>
      • findArgumentBinder

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