Class ProxyExchange.DefaultRequestBuilder
java.lang.Object
org.springframework.cloud.gateway.server.mvc.handler.ProxyExchange.DefaultRequestBuilder
- All Implemented Interfaces:
ProxyExchange.Request,ProxyExchange.RequestBuilder,org.springframework.http.HttpMessage
- Enclosing interface:
- ProxyExchange
public static class ProxyExchange.DefaultRequestBuilder
extends Object
implements ProxyExchange.RequestBuilder, ProxyExchange.Request
-
Method Summary
Modifier and TypeMethodDescriptionbuild()org.springframework.http.HttpHeadersorg.springframework.http.HttpMethodorg.springframework.web.servlet.function.ServerRequest@Nullable URIgetUri()headers(org.springframework.http.HttpHeaders httpHeaders) method(org.springframework.http.HttpMethod method) responseConsumer(ProxyExchange.ResponseConsumer responseConsumer)
-
Method Details
-
headers
- Specified by:
headersin interfaceProxyExchange.RequestBuilder
-
method
- Specified by:
methodin interfaceProxyExchange.RequestBuilder
-
uri
- Specified by:
uriin interfaceProxyExchange.RequestBuilder
-
responseConsumer
public ProxyExchange.RequestBuilder responseConsumer(ProxyExchange.ResponseConsumer responseConsumer) - Specified by:
responseConsumerin interfaceProxyExchange.RequestBuilder
-
build
- Specified by:
buildin interfaceProxyExchange.RequestBuilder
-
getHeaders
public org.springframework.http.HttpHeaders getHeaders()- Specified by:
getHeadersin interfaceorg.springframework.http.HttpMessage
-
getMethod
public org.springframework.http.HttpMethod getMethod()- Specified by:
getMethodin interfaceProxyExchange.Request
-
getUri
- Specified by:
getUriin interfaceProxyExchange.Request
-
getServerRequest
public org.springframework.web.servlet.function.ServerRequest getServerRequest()- Specified by:
getServerRequestin interfaceProxyExchange.Request
-
getResponseConsumers
- Specified by:
getResponseConsumersin interfaceProxyExchange.Request
-