From 2cd579353cf4acb2f8495ca6f827559497a66568 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Mon, 26 Nov 2018 14:12:16 +0100 Subject: [PATCH] Issue #113 - fix javadoc errors Signed-off-by: Lachlan Roberts --- .../main/java/org/eclipse/jetty/server/CustomRequestLog.java | 5 +++-- .../main/java/org/eclipse/jetty/server/NCSARequestLog.java | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) 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 2896f9bbaaa..4bfb2448786 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 @@ -47,8 +47,9 @@ import static java.lang.invoke.MethodType.methodType; /** + - + @@ -267,7 +268,6 @@ import static java.lang.invoke.MethodType.methodType; -
CustomRequestLog Format Codes
Format StringFormat String Description
%{VARNAME}^to The contents of VARNAME: trailer line(s) in the response sent from the server.
*/ public class CustomRequestLog extends ContainerLifeCycle implements RequestLog @@ -336,6 +336,7 @@ public class CustomRequestLog extends ContainerLifeCycle implements RequestLog /** * Extract the user authentication * @param request The request to extract from + * @param checkDeferred Whether to check for deferred authentication * @return The string to log for authenticated user. */ protected static String getAuthentication(Request request, boolean checkDeferred) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/NCSARequestLog.java b/jetty-server/src/main/java/org/eclipse/jetty/server/NCSARequestLog.java index 76103dc4bb1..a8a5466543f 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/NCSARequestLog.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/NCSARequestLog.java @@ -64,7 +64,10 @@ public class NCSARequestLog extends AbstractNCSARequestLog /* ------------------------------------------------------------ */ /** - * Create request log object with specified output file name. + * Create request log object given a RequestLogWriter file name. + * + * @param writer the writer which manages the output of the formatted string + * produced by the {@link RequestLog} */ public NCSARequestLog(RequestLogWriter writer) {