fix javadoc error and formatting some notes (#1977)
* formatting some notes * formatting some notes * remove invalid notes * cancel some commits Co-authored-by: liufangtao <liufangtao@xiaomi.com>
This commit is contained in:
@@ -27,9 +27,7 @@ import org.springframework.web.reactive.handler.SimpleUrlHandlerMapping;
|
||||
/**
|
||||
* This is useful for PreFlight CORS requests. We can add a "global" configuration here so
|
||||
* we don't have to modify existing predicates to allow the "options" HTTP method.
|
||||
*
|
||||
*/
|
||||
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnClass(SimpleUrlHandlerMapping.class)
|
||||
@ConditionalOnProperty(name = "spring.cloud.gateway.globalcors.add-to-simple-url-handler-mapping",
|
||||
|
||||
@@ -237,7 +237,6 @@ public class NettyRoutingFilter implements GlobalFilter, Ordered {
|
||||
* timeout configuration.
|
||||
* @param route the current route.
|
||||
* @param exchange the current ServerWebExchange.
|
||||
* @param chain the current GatewayFilterChain.
|
||||
* @return
|
||||
*/
|
||||
protected HttpClient getHttpClient(Route route, ServerWebExchange exchange) {
|
||||
|
||||
@@ -354,8 +354,7 @@ public class GatewayFilterSpec extends UriSpec {
|
||||
|
||||
/**
|
||||
* A filter that will set the Host header to
|
||||
* {@param hostName} on the outgoing
|
||||
* request.
|
||||
* {@param hostName} on the outgoing request.
|
||||
* @param hostName the updated Host header value
|
||||
* @return a {@link GatewayFilterSpec} that can be used to apply additional filters
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user