Skip to content

Commit 4bc42cd

Browse files
committed
HttpServerRequestInternal package change
See eclipse-vertx/vert.x#5244 Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 249096e commit 4bc42cd

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/main/java/io/vertx/httpproxy/impl/ProxiedRequest.java

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,11 @@
1010
*/
1111
package io.vertx.httpproxy.impl;
1212

13-
import io.vertx.core.AsyncResult;
14-
import io.vertx.core.Future;
15-
import io.vertx.core.Handler;
16-
import io.vertx.core.MultiMap;
17-
import io.vertx.core.Promise;
13+
import io.vertx.core.*;
1814
import io.vertx.core.buffer.Buffer;
19-
import io.vertx.core.http.HttpClientRequest;
20-
import io.vertx.core.http.HttpHeaders;
21-
import io.vertx.core.http.HttpMethod;
22-
import io.vertx.core.http.HttpServerRequest;
23-
import io.vertx.core.http.HttpVersion;
24-
import io.vertx.core.http.impl.HttpServerRequestInternal;
15+
import io.vertx.core.http.*;
2516
import io.vertx.core.internal.ContextInternal;
17+
import io.vertx.core.internal.http.HttpServerRequestInternal;
2618
import io.vertx.core.net.HostAndPort;
2719
import io.vertx.core.streams.Pipe;
2820
import io.vertx.httpproxy.Body;
@@ -77,7 +69,7 @@ public ProxiedRequest(HttpServerRequest proxiedRequest) {
7769
this.headers = MultiMap.caseInsensitiveMultiMap().addAll(proxiedRequest.headers());
7870
this.absoluteURI = proxiedRequest.absoluteURI();
7971
this.proxiedRequest = proxiedRequest;
80-
this.context = (ContextInternal) ((HttpServerRequestInternal) proxiedRequest).context();
72+
this.context = ((HttpServerRequestInternal) proxiedRequest).context();
8173
this.authority = proxiedRequest.authority();
8274
}
8375

0 commit comments

Comments
 (0)