From d3cbd36fe07e8a8cce6c61d1ecc56290f96abd30 Mon Sep 17 00:00:00 2001 From: Gili Tzabari Date: Tue, 30 Jul 2019 09:40:02 -0400 Subject: [PATCH] Added Javadoc. Signed-off-by: Gili Tzabari --- .../org/eclipse/jetty/server/HttpConfiguration.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java index 4c9c1499aeb..58ee9af8ac0 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java @@ -318,11 +318,21 @@ public class HttpConfiguration implements Dumpable return _sendXPoweredBy; } + /** + * Indicates if the {@code Date} header should be sent in responses. + * + * @param sendDateHeader true if the {@code Date} header should be sent in responses + */ public void setSendDateHeader(boolean sendDateHeader) { _sendDateHeader = sendDateHeader; } + /** + * Indicates if the {@code Date} header will be sent in responses. + * + * @return true if the {@code Date} header will be sent in responses + */ @ManagedAttribute("Whether to send the Date header in responses") public boolean getSendDateHeader() {