From 9cc7517d65b4dce64e0c115fbb722fac80ded033 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Fri, 28 May 2021 11:33:15 +1000 Subject: [PATCH] Issue #6330 - Improve javadoc for CustomRequestLog %H Signed-off-by: Lachlan Roberts --- .../main/java/org/eclipse/jetty/server/CustomRequestLog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java b/jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java index 9cfd28e557c..c4cb3b61960 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/CustomRequestLog.java @@ -152,7 +152,9 @@ import static java.lang.invoke.MethodType.methodType; * * * %H - * The request protocol. + * Returns the name and version of the protocol the request uses in the form + * protocol/majorVersion.minorVersion, for example, HTTP/1.1. For HTTP servlets, + * the value returned is the same as the value of the CGI variable SERVER_PROTOCOL. * * *