Class DelegatingServerHttpResponse

java.lang.Object
org.springframework.http.server.DelegatingServerHttpResponse
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, HttpMessage, HttpOutputMessage, ServerHttpResponse

public class DelegatingServerHttpResponse extends Object implements ServerHttpResponse
Implementation of ServerHttpResponse that delegates all calls to a given target ServerHttpResponse.
Since:
5.3.2
Author:
Arjen Poutsma
  • Constructor Details

    • DelegatingServerHttpResponse

      public DelegatingServerHttpResponse(ServerHttpResponse delegate)
      Create a new DelegatingServerHttpResponse.
      Parameters:
      delegate - the response to delegate to
  • Method Details