comparison src/org/eclipse/jetty/server/Server.java @ 882:d850a5e6ff15

remove UncheckedPrintWriter
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 16:12:50 -0600
parents 00b3bd6e0ada
children 8c494fcd3d34
comparison
equal deleted inserted replaced
881:31e803481e33 882:d850a5e6ff15
63 private final AttributesMap _attributes = new AttributesMap(); 63 private final AttributesMap _attributes = new AttributesMap();
64 public final ThreadPoolExecutor threadPool; 64 public final ThreadPoolExecutor threadPool;
65 public final Connector connector; 65 public final Connector connector;
66 private boolean _dumpAfterStart=false; 66 private boolean _dumpAfterStart=false;
67 private boolean _dumpBeforeStop=false; 67 private boolean _dumpBeforeStop=false;
68 private boolean _uncheckedPrintWriter=false;
69 68
70 69
71 /* ------------------------------------------------------------ */ 70 /* ------------------------------------------------------------ */
72 /** Convenience constructor 71 /** Convenience constructor
73 * Creates server and a {@link SelectChannelConnector} at the passed port. 72 * Creates server and a {@link SelectChannelConnector} at the passed port.
320 dump(out,indent,TypeUtil.asList(getHandlers()),getBeans(),Collections.singletonList(connector)); 319 dump(out,indent,TypeUtil.asList(getHandlers()),getBeans(),Collections.singletonList(connector));
321 } 320 }
322 321
323 322
324 /* ------------------------------------------------------------ */ 323 /* ------------------------------------------------------------ */
325 public boolean isUncheckedPrintWriter()
326 {
327 return _uncheckedPrintWriter;
328 }
329
330 /* ------------------------------------------------------------ */
331 public void setUncheckedPrintWriter(boolean unchecked)
332 {
333 _uncheckedPrintWriter=unchecked;
334 }
335
336
337 /* ------------------------------------------------------------ */
338 /* A handler that can be gracefully shutdown. 324 /* A handler that can be gracefully shutdown.
339 * Called by doStop if a {@link #setGracefulShutdown} period is set. 325 * Called by doStop if a {@link #setGracefulShutdown} period is set.
340 * TODO move this somewhere better 326 * TODO move this somewhere better
341 */ 327 */
342 public interface Graceful extends Handler 328 public interface Graceful extends Handler