Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/nio/InheritedChannelConnector.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 |
comparison
equal
deleted
inserted
replaced
| 819:17bd0b170ed6 | 820:8e9db0bbf4f9 |
|---|---|
| 20 | 20 |
| 21 import java.io.IOException; | 21 import java.io.IOException; |
| 22 import java.nio.channels.Channel; | 22 import java.nio.channels.Channel; |
| 23 import java.nio.channels.ServerSocketChannel; | 23 import java.nio.channels.ServerSocketChannel; |
| 24 | 24 |
| 25 import org.eclipse.jetty.util.log.Log; | 25 import org.slf4j.Logger; |
| 26 import org.eclipse.jetty.util.log.Logger; | 26 import org.slf4j.LoggerFactory; |
| 27 | 27 |
| 28 /** | 28 /** |
| 29 * An implementation of the SelectChannelConnector which first tries to | 29 * An implementation of the SelectChannelConnector which first tries to |
| 30 * inherit from a channel provided by the system. If there is no inherited | 30 * inherit from a channel provided by the system. If there is no inherited |
| 31 * channel available, or if the inherited channel provided not usable, then | 31 * channel available, or if the inherited channel provided not usable, then |
| 41 * | 41 * |
| 42 * @author athena | 42 * @author athena |
| 43 */ | 43 */ |
| 44 public class InheritedChannelConnector extends SelectChannelConnector | 44 public class InheritedChannelConnector extends SelectChannelConnector |
| 45 { | 45 { |
| 46 private static final Logger LOG = Log.getLogger(InheritedChannelConnector.class); | 46 private static final Logger LOG = LoggerFactory.getLogger(InheritedChannelConnector.class); |
| 47 | 47 |
| 48 /* ------------------------------------------------------------ */ | 48 /* ------------------------------------------------------------ */ |
| 49 @Override | 49 @Override |
| 50 public void open() throws IOException | 50 public void open() throws IOException |
| 51 { | 51 { |
