Class HttpClientApplication
java.lang.Object
org.springframework.cloud.gateway.tests.httpclient.HttpClientApplication
@SpringBootConfiguration
@EnableAutoConfiguration
@LoadBalancerClient(name="myservice",
configuration=org.springframework.cloud.gateway.tests.httpclient.MyServiceConf.class)
public class HttpClientApplication
extends Object
- Author:
- jiangyuan
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse>org.springframework.http.client.HttpComponentsClientHttpRequestFactorystatic void
-
Constructor Details
-
HttpClientApplication
public HttpClientApplication()
-
-
Method Details
-
main
-
httpComponentsClientHttpRequestFactory
@Bean public org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory() -
gatewayRouterFunctionsRetry
@Bean public org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse> gatewayRouterFunctionsRetry()
-