Class NettyRequestArgumentSatisfier


  • @Primary
    @Singleton
    @Internal
    public class NettyRequestArgumentSatisfier
    extends io.micronaut.http.server.binding.RequestArgumentSatisfier
    A class containing methods to aid in satisfying arguments of a Route. Contains Netty specific extensions - setting the body required for blocking binders.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      NettyRequestArgumentSatisfier​(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Optional<java.lang.Object> getValueForArgument​(io.micronaut.core.type.Argument argument, io.micronaut.http.HttpRequest<?> request, boolean satisfyOptionals)  
      • Methods inherited from class io.micronaut.http.server.binding.RequestArgumentSatisfier

        fulfillArgumentRequirements, getBinderRegistry
      • Methods inherited from class java.lang.Object

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

      • NettyRequestArgumentSatisfier

        public NettyRequestArgumentSatisfier​(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry)
        Constructor.
        Parameters:
        requestBinderRegistry - The request argument binder
    • Method Detail

      • getValueForArgument

        protected java.util.Optional<java.lang.Object> getValueForArgument​(io.micronaut.core.type.Argument argument,
                                                                           io.micronaut.http.HttpRequest<?> request,
                                                                           boolean satisfyOptionals)
        Overrides:
        getValueForArgument in class io.micronaut.http.server.binding.RequestArgumentSatisfier