File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
spring-web/src/main/java/org/springframework/http/client/reactive Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 38
38
kotlinVersion = " 1.2.70"
39
39
log4jVersion = " 2.11.1"
40
40
nettyVersion = " 4.1.29.Final"
41
- reactorVersion = " Californium-RC1 "
41
+ reactorVersion = " Californium-BUILD-SNAPSHOT "
42
42
rxjavaVersion = " 1.3.8"
43
43
rxjavaAdapterVersion = " 1.2.1"
44
44
rxjava2Version = " 2.2.2"
@@ -148,7 +148,7 @@ configure(allprojects) { project ->
148
148
149
149
repositories {
150
150
maven { url " https://repo.spring.io/libs-release" }
151
- maven { url " https://repo.spring.io/libs-milestone " } // for Reactor
151
+ maven { url " https://repo.spring.io/libs-snapshot " } // for Reactor
152
152
}
153
153
154
154
dependencies {
Original file line number Diff line number Diff line change 41
41
*/
42
42
public class ReactorClientHttpConnector implements ClientHttpConnector {
43
43
44
- private final static Function <HttpClient , HttpClient > defaultInitializer = HttpClient :: compress ;
44
+ private final static Function <HttpClient , HttpClient > defaultInitializer = client -> client . compress ( true ) ;
45
45
46
46
47
47
private final HttpClient httpClient ;
@@ -82,7 +82,7 @@ private static HttpClient initHttpClient(ReactorResourceFactory resourceFactory)
82
82
LoopResources resources = resourceFactory .getLoopResources ();
83
83
Assert .notNull (provider , "No ConnectionProvider: is ReactorResourceFactory not initialized yet?" );
84
84
Assert .notNull (resources , "No LoopResources: is ReactorResourceFactory not initialized yet?" );
85
- return HttpClient .create (provider ).tcpConfiguration (tcpClient -> tcpClient .runOn (resources )). compress () ;
85
+ return HttpClient .create (provider ).tcpConfiguration (tcpClient -> tcpClient .runOn (resources ));
86
86
}
87
87
88
88
/**
You can’t perform that action at this time.
0 commit comments