Class AbstractProxyExchange
java.lang.Object
org.springframework.cloud.gateway.server.mvc.common.AbstractProxyExchange
- All Implemented Interfaces:
ProxyExchange
- Direct Known Subclasses:
ClientHttpRequestFactoryProxyExchange,RestClientProxyExchange
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.cloud.gateway.server.mvc.handler.ProxyExchange
ProxyExchange.DefaultRequestBuilder, ProxyExchange.Request, ProxyExchange.RequestBuilder, ProxyExchange.Response, ProxyExchange.ResponseConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcloseResponse(org.springframework.http.client.ClientHttpResponse clientResponse, InputStream inputStream, @Nullable IOException copyException) protected intcopyResponseBody(org.springframework.http.client.ClientHttpResponse clientResponse, InputStream inputStream, OutputStream outputStream) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.cloud.gateway.server.mvc.handler.ProxyExchange
exchange, request
-
Constructor Details
-
AbstractProxyExchange
-
-
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)
-