Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 8cea5e0

Browse files
author
Alexander Finn
committed
hostname method documentation corrected.
1 parent 8782005 commit 8cea5e0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

jooby/src/main/java/org/jooby/Request.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,11 +636,9 @@ default <T> T require(final TypeLiteral<T> type) {
636636
Route route();
637637

638638
/**
639-
* The fully qualified name of the client or the last proxy that sent the request.
640-
* If the engine cannot or chooses not to resolve the hostname (to improve performance),
641-
* this method returns the dotted-string form of the IP address
639+
* The fully qualified name of the resource being requested, as obtained from the Host HTTP header.
642640
*
643-
* @return The fully qualified name of the client or the last proxy that sent the request.
641+
* @return The fully qualified name of the server.
644642
*/
645643
String hostname();
646644

0 commit comments

Comments
 (0)