Class OfficeFloorServerHttpResponse

  • All Implemented Interfaces:
    org.springframework.http.HttpMessage, org.springframework.http.ReactiveHttpOutputMessage, org.springframework.http.server.reactive.ServerHttpResponse

    public class OfficeFloorServerHttpResponse
    extends org.springframework.http.server.reactive.AbstractListenerServerHttpResponse
    OfficeFloor ServerHttpResponse.
    Author:
    Daniel Sagenschneider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void applyCookies()  
      protected void applyHeaders()  
      protected void applyStatusCode()  
      protected org.reactivestreams.Processor<? super org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>,​java.lang.Void> createBodyFlushProcessor()  
      <T> T getNativeResponse()  
      • Methods inherited from class org.springframework.http.server.reactive.AbstractListenerServerHttpResponse

        writeAndFlushWithInternal, writeWithInternal
      • Methods inherited from class org.springframework.http.server.reactive.AbstractServerHttpResponse

        addCookie, beforeCommit, bufferFactory, doCommit, doCommit, getCookies, getHeaders, getRawStatusCode, getStatusCode, getStatusCodeValue, isCommitted, setComplete, setRawStatusCode, setStatusCode, setStatusCodeValue, touchDataBuffer, writeAndFlushWith, writeWith
      • Methods inherited from class java.lang.Object

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

      • OfficeFloorServerHttpResponse

        public OfficeFloorServerHttpResponse​(HttpResponse httpResponse,
                                             org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory)
                                      throws java.io.IOException
        Instantiate.
        Parameters:
        httpResponse - HttpResponse.
        dataBufferFactory - DataBufferFactory.
        Throws:
        java.io.IOException - If fails to setup response.
    • Method Detail

      • applyStatusCode

        protected void applyStatusCode()
        Specified by:
        applyStatusCode in class org.springframework.http.server.reactive.AbstractServerHttpResponse
      • applyHeaders

        protected void applyHeaders()
        Specified by:
        applyHeaders in class org.springframework.http.server.reactive.AbstractServerHttpResponse
      • applyCookies

        protected void applyCookies()
        Specified by:
        applyCookies in class org.springframework.http.server.reactive.AbstractServerHttpResponse
      • createBodyFlushProcessor

        protected org.reactivestreams.Processor<? super org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>,​java.lang.Void> createBodyFlushProcessor()
        Specified by:
        createBodyFlushProcessor in class org.springframework.http.server.reactive.AbstractListenerServerHttpResponse
      • getNativeResponse

        public <T> T getNativeResponse()
        Specified by:
        getNativeResponse in class org.springframework.http.server.reactive.AbstractServerHttpResponse