Class OfficeFloorServerHttpResponse

java.lang.Object
org.springframework.http.server.reactive.AbstractServerHttpResponse
org.springframework.http.server.reactive.AbstractListenerServerHttpResponse
net.officefloor.spring.webflux.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
  • Constructor Summary

    Constructors
    Constructor
    Description
    OfficeFloorServerHttpResponse(HttpResponse httpResponse, org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory)
    Instantiate.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected void
     
    protected org.reactivestreams.Processor<? super org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>,Void>
     
    <T> T
     

    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, getStatusCode, isCommitted, setComplete, setRawStatusCode, setStatusCode, touchDataBuffer, writeAndFlushWith, writeWith

    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.ServerHttpResponse

    getRawStatusCode
  • Constructor Details

    • OfficeFloorServerHttpResponse

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

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