Class OfficeFloorServerHttpRequest

java.lang.Object
org.springframework.http.server.reactive.AbstractServerHttpRequest
net.officefloor.spring.webflux.OfficeFloorServerHttpRequest
All Implemented Interfaces:
org.springframework.http.HttpMessage, org.springframework.http.HttpRequest, org.springframework.http.ReactiveHttpInputMessage, org.springframework.http.server.reactive.ServerHttpRequest, org.springframework.http.server.reactive.SslInfo

public class OfficeFloorServerHttpRequest extends org.springframework.http.server.reactive.AbstractServerHttpRequest implements org.springframework.http.server.reactive.SslInfo
OfficeFloor ServerHttpRequest.
Author:
Daniel Sagenschneider
  • 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
    OfficeFloorServerHttpRequest(HttpRequest httpRequest, HttpRequestState requestState, String contextPath, org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory)
    Instantiate.
  • 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.util.MultiValueMap<String,String>
     
    protected org.springframework.http.server.reactive.SslInfo
     
    void
    loadPathParameters(org.springframework.web.server.ServerWebExchange exchange)
    Loads the path parameters.

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

    getAttributes, getCookies, getHeaders, getId, getPath, getQueryParams, getSslInfo, getURI, initId, initLogPrefix, setAttributesSupplier

    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

  • Method Details

    • initQueryParams

      protected org.springframework.util.MultiValueMap<String,String> initQueryParams()
      Overrides:
      initQueryParams in class org.springframework.http.server.reactive.AbstractServerHttpRequest
    • loadPathParameters

      public void loadPathParameters(org.springframework.web.server.ServerWebExchange exchange)
      Loads the path parameters.
      Parameters:
      exchange - ServerWebExchange.
    • initSslInfo

      protected org.springframework.http.server.reactive.SslInfo initSslInfo()
      Specified by:
      initSslInfo 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
    • initCookies

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

      public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> getBody()
      Specified by:
      getBody in interface org.springframework.http.ReactiveHttpInputMessage
    • getNativeRequest

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

      public String getSessionId()
      Specified by:
      getSessionId in interface org.springframework.http.server.reactive.SslInfo
    • getPeerCertificates

      public X509Certificate[] getPeerCertificates()
      Specified by:
      getPeerCertificates in interface org.springframework.http.server.reactive.SslInfo