Class RestClientProxyExchange
java.lang.Object
org.springframework.cloud.gateway.server.mvc.common.AbstractProxyExchange
org.springframework.cloud.gateway.server.mvc.handler.RestClientProxyExchange
- All Implemented Interfaces:
ProxyExchange
-
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
ConstructorsConstructorDescriptionRestClientProxyExchange(org.springframework.web.client.RestClient restClient, GatewayMvcProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.function.ServerResponseexchange(ProxyExchange.Request request) Methods inherited from class org.springframework.cloud.gateway.server.mvc.common.AbstractProxyExchange
closeResponse, copyResponseBodyMethods 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
request
-
Constructor Details
-
RestClientProxyExchange
public RestClientProxyExchange(org.springframework.web.client.RestClient restClient, GatewayMvcProperties properties)
-
-
Method Details
-
exchange
public org.springframework.web.servlet.function.ServerResponse exchange(ProxyExchange.Request request)
-