comparison src/org/eclipse/jetty/http/AbstractGenerator.java @ 820:8e9db0bbf4f9

remove org.eclipse.jetty.util.log and upgrade slf4j
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 13 Sep 2016 23:13:06 -0600
parents 3428c60d7cfc
children fef4392f4905
comparison
equal deleted inserted replaced
819:17bd0b170ed6 820:8e9db0bbf4f9
24 import org.eclipse.jetty.io.Buffers; 24 import org.eclipse.jetty.io.Buffers;
25 import org.eclipse.jetty.io.ByteArrayBuffer; 25 import org.eclipse.jetty.io.ByteArrayBuffer;
26 import org.eclipse.jetty.io.EndPoint; 26 import org.eclipse.jetty.io.EndPoint;
27 import org.eclipse.jetty.io.EofException; 27 import org.eclipse.jetty.io.EofException;
28 import org.eclipse.jetty.io.View; 28 import org.eclipse.jetty.io.View;
29 import org.eclipse.jetty.util.log.Log; 29 import org.slf4j.Logger;
30 import org.eclipse.jetty.util.log.Logger; 30 import org.slf4j.LoggerFactory;
31 31
32 /* ------------------------------------------------------------ */ 32 /* ------------------------------------------------------------ */
33 /** 33 /**
34 * Abstract Generator. Builds HTTP Messages. 34 * Abstract Generator. Builds HTTP Messages.
35 * 35 *
38 * faster, but will consume more memory. This option is just for testing and tuning. 38 * faster, but will consume more memory. This option is just for testing and tuning.
39 * 39 *
40 */ 40 */
41 public abstract class AbstractGenerator implements Generator 41 public abstract class AbstractGenerator implements Generator
42 { 42 {
43 private static final Logger LOG = Log.getLogger(AbstractGenerator.class); 43 private static final Logger LOG = LoggerFactory.getLogger(AbstractGenerator.class);
44 44
45 // states 45 // states
46 public final static int STATE_HEADER = 0; 46 public final static int STATE_HEADER = 0;
47 public final static int STATE_CONTENT = 2; 47 public final static int STATE_CONTENT = 2;
48 public final static int STATE_FLUSHING = 3; 48 public final static int STATE_FLUSHING = 3;