You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/RequestLineAttribute.java
+2-26Lines changed: 2 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -38,32 +38,8 @@ public String readAttribute(final RoutingContext exchange) {
38
38
httpMethod = exchange.request().method();
39
39
uri = exchange.request().uri();
40
40
}
41
-
StringBuildersb = newStringBuilder()
42
-
.append(httpMethod)
43
-
.append(' ')
44
-
.append(uri);
45
-
sb.append(' ');
46
-
StringhttpVersion = "-";
47
-
switch (exchange.request().version()) {
48
-
caseHTTP_1_0:
49
-
httpVersion = "HTTP/1.0";
50
-
break;
51
-
caseHTTP_1_1:
52
-
httpVersion = "HTTP/1.1";
53
-
break;
54
-
caseHTTP_2:
55
-
httpVersion = "HTTP/2";
56
-
break;
57
-
default:
58
-
// best effort to try and infer the HTTP version from
Copy file name to clipboardExpand all lines: extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/RequestProtocolAttribute.java
0 commit comments