Added Javadoc.

Signed-off-by: Gili Tzabari <cowwoc2020@gmail.com>
This commit is contained in:
Gili Tzabari 2019-07-30 09:40:02 -04:00
parent 1b6bf389d6
commit d3cbd36fe0
1 changed files with 10 additions and 0 deletions

View File

@ -318,11 +318,21 @@ public class HttpConfiguration implements Dumpable
return _sendXPoweredBy; 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) public void setSendDateHeader(boolean sendDateHeader)
{ {
_sendDateHeader = 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") @ManagedAttribute("Whether to send the Date header in responses")
public boolean getSendDateHeader() public boolean getSendDateHeader()
{ {