Mercurial Hosting > luan
changeset 967:8a8dc0b1742f
remove getConnection()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 14 Oct 2016 02:30:48 -0600 |
parents | 2ac9e57ccae6 |
children | 0d20943cfea2 |
files | src/org/eclipse/jetty/io/ConnectedEndPoint.java src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java |
diffstat | 3 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/ConnectedEndPoint.java Fri Oct 14 02:26:05 2016 -0600 +++ b/src/org/eclipse/jetty/io/ConnectedEndPoint.java Fri Oct 14 02:30:48 2016 -0600 @@ -20,6 +20,5 @@ public interface ConnectedEndPoint extends EndPoint { - Connection getConnection(); void setConnection(Connection connection); }
--- a/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Fri Oct 14 02:26:05 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Fri Oct 14 02:30:48 2016 -0600 @@ -87,12 +87,6 @@ } @Override - public Connection getConnection() - { - return _connection; - } - - @Override public void setConnection(Connection connection) { _connection = (AsyncConnection)connection;
--- a/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java Fri Oct 14 02:26:05 2016 -0600 +++ b/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java Fri Oct 14 02:30:48 2016 -0600 @@ -152,22 +152,11 @@ _connection = new BlockingHttpConnection(BlockingChannelConnector.this,this,server); } - /* ------------------------------------------------------------ */ - /** Get the connection. - * @return the connection - */ - public Connection getConnection() - { - return _connection; - } - - /* ------------------------------------------------------------ */ public void setConnection(Connection connection) { _connection=connection; } - /* ------------------------------------------------------------ */ public void checkIdleTimestamp(long now) { if (_idleTimestamp!=0 && _timeout>0 && now>(_idleTimestamp+_timeout)) @@ -176,7 +165,6 @@ } } - /* ------------------------------------------------------------ */ protected void idleExpired() { try @@ -189,7 +177,6 @@ } } - /* ------------------------------------------------------------ */ void dispatch() throws IOException { try {