Skip to content

Commit

Permalink
Add Javadoc since to JettyClientTags.host() (#2572)
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored Apr 14, 2021
1 parent 56fbc92 commit d402940
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ public static Tag method(Request request) {
}

/**
* Creates a {@code host} tag based on the {@link Request#getHost()
* method} of the given {@code request}.
* Creates a {@code host} tag based on the {@link Request#getHost()} of the given {@code request}.
*
* @param request the request
* @return the host tag derived from request result.
* @return the host tag derived from request
* @since 1.7.0
*/
public static Tag host(Request request) {
return (request != null) ? Tag.of("host", request.getHost()) : HOST_UNKNOWN;
Expand Down

0 comments on commit d402940

Please sign in to comment.