Mercurial Hosting > luan
changeset 895:49ff91097d6c
remove _hostHeader
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 06 Oct 2016 23:43:36 -0600 |
parents | c33a99fca826 |
children | d002da24b510 |
files | src/org/eclipse/jetty/server/Connector.java |
diffstat | 1 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
diff -r c33a99fca826 -r 49ff91097d6c src/org/eclipse/jetty/server/Connector.java --- a/src/org/eclipse/jetty/server/Connector.java Thu Oct 06 23:40:29 2016 -0600 +++ b/src/org/eclipse/jetty/server/Connector.java Thu Oct 06 23:43:36 2016 -0600 @@ -65,7 +65,6 @@ private int _acceptors = 1; private int _acceptorPriorityOffset = 0; private boolean _useDNS; - private String _hostHeader; private String _forwardedHostHeader = HttpHeaders.X_FORWARDED_HOST; private String _forwardedServerHeader = HttpHeaders.X_FORWARDED_SERVER; @@ -370,25 +369,6 @@ } /* ------------------------------------------------------------ */ - public String getHostHeader() - { - return _hostHeader; - } - - /* ------------------------------------------------------------ */ - /** - * Set a forced valued for the host header to control what is returned by {@link ServletRequest#getServerName()} and {@link ServletRequest#getServerPort()}. - * This value is only used if {@link #isForwarded()} is true. - * - * @param hostHeader - * The value of the host header to force. - */ - public void setHostHeader(String hostHeader) - { - _hostHeader = hostHeader; - } - - /* ------------------------------------------------------------ */ /* * * @see #setForwarded(boolean)