Class MicronautServerHttpRequest

java.lang.Object
org.springframework.http.server.reactive.AbstractServerHttpRequest
io.micronaut.spring.web.reactive.MicronautServerHttpRequest
All Implemented Interfaces:
org.springframework.http.HttpMessage, org.springframework.http.HttpRequest, org.springframework.http.ReactiveHttpInputMessage, org.springframework.http.server.reactive.ServerHttpRequest

public class MicronautServerHttpRequest extends org.springframework.http.server.reactive.AbstractServerHttpRequest
Micronaut implementation of ServerHttpRequest.
Since:
1.0
Author:
graemerocher
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.http.server.reactive.ServerHttpRequest

    org.springframework.http.server.reactive.ServerHttpRequest.Builder
  • Constructor Summary

    Constructors
    Constructor
    Description
    MicronautServerHttpRequest(io.micronaut.http.HttpRequest<?> request, ChannelResolver channelResolver, io.micronaut.http.server.HttpServerConfiguration serverConfiguration)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer>
     
    org.springframework.http.HttpMethod
     
    <T> T
     
    protected org.springframework.util.MultiValueMap<String,org.springframework.http.HttpCookie>
     
    protected org.springframework.http.server.reactive.SslInfo
     

    Methods inherited from class org.springframework.http.server.reactive.AbstractServerHttpRequest

    getCookies, getHeaders, getId, getPath, getQueryParams, getSslInfo, getURI, initId, initLogPrefix, initQueryParams

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.springframework.http.server.reactive.ServerHttpRequest

    getLocalAddress, getRemoteAddress, mutate
  • Constructor Details

    • MicronautServerHttpRequest

      public MicronautServerHttpRequest(io.micronaut.http.HttpRequest<?> request, ChannelResolver channelResolver, io.micronaut.http.server.HttpServerConfiguration serverConfiguration)
      Default constructor.
      Parameters:
      request - The request to adapt
      channelResolver - The channel resolver
      serverConfiguration - The server configuration
  • Method Details

    • initCookies

      protected org.springframework.util.MultiValueMap<String,org.springframework.http.HttpCookie> initCookies()
      Specified by:
      initCookies in class org.springframework.http.server.reactive.AbstractServerHttpRequest
    • initSslInfo

      protected org.springframework.http.server.reactive.SslInfo initSslInfo()
      Specified by:
      initSslInfo in class org.springframework.http.server.reactive.AbstractServerHttpRequest
    • getNativeRequest

      public <T> T getNativeRequest()
      Specified by:
      getNativeRequest in class org.springframework.http.server.reactive.AbstractServerHttpRequest
    • getMethod

      public org.springframework.http.HttpMethod getMethod()
      Specified by:
      getMethod in interface org.springframework.http.HttpRequest
      Overrides:
      getMethod in class org.springframework.http.server.reactive.AbstractServerHttpRequest
    • getBody

      public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> getBody()