comparison src/org/eclipse/jetty/io/nio/SslConnection.java @ 1003:21910079096e

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 22 Oct 2016 22:24:47 -0600
parents 35d04ac3fd0b
children 3c4c7cc7904f
comparison
equal deleted inserted replaced
1002:35d04ac3fd0b 1003:21910079096e
30 30
31 import org.eclipse.jetty.io.AbstractConnection; 31 import org.eclipse.jetty.io.AbstractConnection;
32 import org.eclipse.jetty.io.AsyncEndPoint; 32 import org.eclipse.jetty.io.AsyncEndPoint;
33 import org.eclipse.jetty.io.Buffer; 33 import org.eclipse.jetty.io.Buffer;
34 import org.eclipse.jetty.io.EndPoint; 34 import org.eclipse.jetty.io.EndPoint;
35 import org.eclipse.jetty.server.AsyncHttpConnection;
35 import org.slf4j.Logger; 36 import org.slf4j.Logger;
36 import org.slf4j.LoggerFactory; 37 import org.slf4j.LoggerFactory;
37 38
38 39
39 /* ------------------------------------------------------------ */ 40 /* ------------------------------------------------------------ */
52 private static final NIOBuffer __ZERO_BUFFER = new IndirectNIOBuffer(0); 53 private static final NIOBuffer __ZERO_BUFFER = new IndirectNIOBuffer(0);
53 54
54 private static final ThreadLocal<SslBuffers> __buffers = new ThreadLocal<SslBuffers>(); 55 private static final ThreadLocal<SslBuffers> __buffers = new ThreadLocal<SslBuffers>();
55 private final SSLEngine _engine; 56 private final SSLEngine _engine;
56 private final SSLSession _session; 57 private final SSLSession _session;
57 private AsyncConnection _connection; 58 private AsyncHttpConnection _connection;
58 private final SslEndPoint _sslEndPoint; 59 private final SslEndPoint _sslEndPoint;
59 private int _allocations; 60 private int _allocations;
60 private SslBuffers _buffers; 61 private SslBuffers _buffers;
61 private NIOBuffer _inbound; 62 private NIOBuffer _inbound;
62 private NIOBuffer _unwrapBuf; 63 private NIOBuffer _unwrapBuf;
721 public void setMaxIdleTime(int timeMs) throws IOException 722 public void setMaxIdleTime(int timeMs) throws IOException
722 { 723 {
723 _aEndp.setMaxIdleTime(timeMs); 724 _aEndp.setMaxIdleTime(timeMs);
724 } 725 }
725 726
726 public void setConnection(AsyncConnection connection) 727 public void setConnection(AsyncHttpConnection connection)
727 { 728 {
728 _connection = connection; 729 _connection = connection;
729 } 730 }
730 731
731 public String toString() 732 public String toString()