Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> getBody()  
      java.lang.String getMethodValue()  
      <T> T getNativeRequest()  
      java.security.cert.X509Certificate[] getPeerCertificates()  
      java.lang.String getSessionId()  
      protected org.springframework.util.MultiValueMap<java.lang.String,​org.springframework.http.HttpCookie> initCookies()  
      protected org.springframework.http.server.reactive.SslInfo initSslInfo()  
      void loadPathParameters​(org.springframework.web.server.ServerWebExchange exchange)
      Loads the path parameters.
      • Methods inherited from class org.springframework.http.server.reactive.AbstractServerHttpRequest

        getCookies, getHeaders, getId, getPath, getQueryParams, getSslInfo, getURI, initId, 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.HttpRequest

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

        getLocalAddress, getRemoteAddress, mutate
    • Constructor Detail

      • OfficeFloorServerHttpRequest

        public OfficeFloorServerHttpRequest​(HttpRequest httpRequest,
                                            HttpRequestState requestState,
                                            java.lang.String contextPath,
                                            org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory)
                                     throws java.net.URISyntaxException
        Instantiate.
        Parameters:
        httpRequest - HttpRequest.
        requestState - HttpRequestState.
        contextPath - Context path.
        dataBufferFactory - DataBufferFactory.
        Throws:
        java.net.URISyntaxException - If fails to create URI.
    • Method Detail

      • 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
      • getMethodValue

        public java.lang.String getMethodValue()
        Specified by:
        getMethodValue in interface org.springframework.http.HttpRequest
      • initCookies

        protected org.springframework.util.MultiValueMap<java.lang.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 java.lang.String getSessionId()
        Specified by:
        getSessionId in interface org.springframework.http.server.reactive.SslInfo
      • getPeerCertificates

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