Class ServerHttpRequestBinder

java.lang.Object
io.micronaut.spring.web.bind.ServerHttpRequestBinder
All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest,io.micronaut.http.HttpRequest<?>>, io.micronaut.core.bind.TypeArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest,io.micronaut.http.HttpRequest<?>>, io.micronaut.http.bind.binders.RequestArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest>, io.micronaut.http.bind.binders.TypedRequestArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest>

@Singleton @Internal public class ServerHttpRequestBinder extends Object implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest>
Binds the ServerHttpRequest object.
Since:
1.0
Author:
graemerocher
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

    io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerHttpRequestBinder(ChannelResolver channelResolver, io.micronaut.http.server.HttpServerConfiguration serverConfiguration)
    The channel resolver.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.type.Argument<org.springframework.http.server.reactive.ServerHttpRequest>
     
    io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.http.server.reactive.ServerHttpRequest>
    bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.http.server.reactive.ServerHttpRequest> context, io.micronaut.http.HttpRequest<?> source)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder

    matches, superTypes
  • Constructor Details

    • ServerHttpRequestBinder

      public ServerHttpRequestBinder(ChannelResolver channelResolver, io.micronaut.http.server.HttpServerConfiguration serverConfiguration)
      The channel resolver.
      Parameters:
      channelResolver - The channel resolver
      serverConfiguration - The server configuration
  • Method Details

    • argumentType

      public io.micronaut.core.type.Argument<org.springframework.http.server.reactive.ServerHttpRequest> argumentType()
      Specified by:
      argumentType in interface io.micronaut.core.bind.TypeArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest,io.micronaut.http.HttpRequest<?>>
    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<org.springframework.http.server.reactive.ServerHttpRequest> bind(io.micronaut.core.convert.ArgumentConversionContext<org.springframework.http.server.reactive.ServerHttpRequest> context, io.micronaut.http.HttpRequest<?> source)
      Specified by:
      bind in interface io.micronaut.core.bind.ArgumentBinder<org.springframework.http.server.reactive.ServerHttpRequest,io.micronaut.http.HttpRequest<?>>