comparison src/org/eclipse/jetty/server/Server.java @ 878:5f8a242392da

remove sendDateHeader
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 14:50:32 -0600
parents fef4392f4905
children a3775d0c6985
comparison
equal deleted inserted replaced
877:fef4392f4905 878:5f8a242392da
62 private static final String __version = "8"; 62 private static final String __version = "8";
63 63
64 private final AttributesMap _attributes = new AttributesMap(); 64 private final AttributesMap _attributes = new AttributesMap();
65 public final ThreadPoolExecutor threadPool; 65 public final ThreadPoolExecutor threadPool;
66 public final Connector connector; 66 public final Connector connector;
67 private boolean _sendDateHeader = false; //send Date: header
68 private int _graceful=0; 67 private int _graceful=0;
69 private boolean _stopAtShutdown; 68 private boolean _stopAtShutdown;
70 private boolean _dumpAfterStart=false; 69 private boolean _dumpAfterStart=false;
71 private boolean _dumpBeforeStop=false; 70 private boolean _dumpBeforeStop=false;
72 private boolean _uncheckedPrintWriter=false; 71 private boolean _uncheckedPrintWriter=false;
299 { 298 {
300 threadPool.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS); 299 threadPool.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
301 } 300 }
302 301
303 /* ------------------------------------------------------------ */ 302 /* ------------------------------------------------------------ */
304 /**
305 * @param sendDateHeader
306 */
307 public void setSendDateHeader(boolean sendDateHeader)
308 {
309 _sendDateHeader = sendDateHeader;
310 }
311
312 /* ------------------------------------------------------------ */
313 public boolean getSendDateHeader()
314 {
315 return _sendDateHeader;
316 }
317
318 /* ------------------------------------------------------------ */
319 /**
320 */
321 @Deprecated
322 public int getMaxCookieVersion()
323 {
324 return 1;
325 }
326
327 /* ------------------------------------------------------------ */
328 /**
329 */
330 @Deprecated
331 public void setMaxCookieVersion(int maxCookieVersion)
332 {
333 }
334
335 /* ------------------------------------------------------------ */
336 /* 303 /*
337 * @see org.eclipse.util.AttributesMap#clearAttributes() 304 * @see org.eclipse.util.AttributesMap#clearAttributes()
338 */ 305 */
339 public void clearAttributes() 306 public void clearAttributes()
340 { 307 {