File tree 1 file changed +3
-2
lines changed
vertx-web-client/src/main/java/io/vertx/ext/web/client/impl
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 23
23
import io .vertx .core .http .HttpHeaders ;
24
24
import io .vertx .core .http .RequestOptions ;
25
25
import io .vertx .core .http .impl .HttpClientInternal ;
26
+ import io .vertx .core .impl .ContextInternal ;
26
27
import io .vertx .core .json .Json ;
27
28
import io .vertx .core .json .JsonObject ;
28
29
import io .vertx .core .streams .Pipe ;
@@ -45,7 +46,7 @@ public class HttpContext<T> {
45
46
private final HttpClientInternal client ;
46
47
private final WebClientOptions options ;
47
48
private final List <Handler <HttpContext <?>>> interceptors ;
48
- private Context context ;
49
+ private ContextInternal context ;
49
50
private HttpRequestImpl <T > request ;
50
51
private Object body ;
51
52
private String contentType ;
@@ -424,7 +425,7 @@ private void handlePrepareRequest() {
424
425
}
425
426
426
427
private void handleCreateRequest () {
427
- requestPromise = Promise .promise ();
428
+ requestPromise = context .promise ();
428
429
if (body != null || "application/json" .equals (contentType )) {
429
430
if (body instanceof MultipartForm ) {
430
431
MultipartFormUpload multipartForm ;
You can’t perform that action at this time.
0 commit comments