Commit cce6cb1
committed
fix: reuse underlying HttpClient in toBlocking()
DefaultJdkHttpClient.toBlocking() now constructs JdkBlockingHttpClient via
the existing AbstractJdkHttpClient prototype copy constructor sharing the
underlying java.net.http.HttpClient1 parent 04b8ebe commit cce6cb1
2 files changed
Lines changed: 4 additions & 15 deletions
File tree
- http-client-jdk/src/main/java/io/micronaut/http/client/jdk
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 148 | + | |
163 | 149 | | |
164 | 150 | | |
165 | 151 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments