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:
Kevin
2021-02-18 06:47:30 +08:00
committed by GitHub
parent b34fd7b880
commit 90f9620d10
3 changed files with 1 additions and 5 deletions

View File

@@ -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",

View File

@@ -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) {

View File

@@ -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
*/