Skip to content

Commit

Permalink
Issue #11911 Fix documentation example for Request.getHttpUri
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed Jun 13, 2024
1 parent 8efde86 commit 92d1c24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public boolean handle(Request request, Response response, Callback callback) thr
// - servletRequest.getProtocol();
String protocol = request.getConnectionMetaData().getProtocol();

// Gets the full request URI.
// Gets the request URL.
// Replaces:
// - servletRequest.getRequestURL();
String fullRequestURI = request.getHttpURI().asString();
StringBuffer requestURL = new StringBuffer(HttpURI.build(request.getHttpURI()).query(null).asString());

// Gets the request context.
// Replaces:
Expand Down

0 comments on commit 92d1c24

Please sign in to comment.