comparison src/org/eclipse/jetty/io/nio/SslConnection.java @ 965:866f2e801618

handle() returns void
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:19:21 -0600
parents 3cd4c706a61f
children 5ee36654b383
comparison
equal deleted inserted replaced
964:768414c16e10 965:866f2e801618
166 } 166 }
167 } 167 }
168 } 168 }
169 169
170 @Override 170 @Override
171 public Connection handle() throws IOException 171 public void handle() throws IOException
172 { 172 {
173 try 173 try
174 { 174 {
175 allocateBuffers(); 175 allocateBuffers();
176 176
183 // If we are handshook let the delegate connection 183 // If we are handshook let the delegate connection
184 if (_engine.getHandshakeStatus()!=HandshakeStatus.NOT_HANDSHAKING) 184 if (_engine.getHandshakeStatus()!=HandshakeStatus.NOT_HANDSHAKING)
185 progress=process(null,null); 185 progress=process(null,null);
186 186
187 // handle the delegate connection 187 // handle the delegate connection
188 AsyncConnection next = (AsyncConnection)_connection.handle(); 188 _connection.handle();
189 if (next!=_connection && next!=null)
190 {
191 _connection = next;
192 progress = true;
193 }
194 189
195 _logger.debug("{} handle {} progress={}", _session, this, progress); 190 _logger.debug("{} handle {} progress={}", _session, this, progress);
196 } 191 }
197 } 192 }
198 finally 193 finally
213 catch(IOException e2){ 208 catch(IOException e2){
214 _logger.trace("",e2);} 209 _logger.trace("",e2);}
215 } 210 }
216 } 211 }
217 } 212 }
218
219 return this;
220 } 213 }
221 214
222 public boolean isIdle() 215 public boolean isIdle()
223 { 216 {
224 return false; 217 return false;