Class AbstractProxyExchange

java.lang.Object
org.springframework.cloud.gateway.server.mvc.common.AbstractProxyExchange
All Implemented Interfaces:
ProxyExchange
Direct Known Subclasses:
ClientHttpRequestFactoryProxyExchange, RestClientProxyExchange

public abstract class AbstractProxyExchange extends Object implements ProxyExchange
  • Constructor Details

  • Method Details

    • copyResponseBody

      protected int copyResponseBody(org.springframework.http.client.ClientHttpResponse clientResponse, InputStream inputStream, OutputStream outputStream) throws IOException
      Throws:
      IOException
    • closeResponse

      protected void closeResponse(org.springframework.http.client.ClientHttpResponse clientResponse, InputStream inputStream, @Nullable IOException copyException)