()
| 274 | } |
| 275 | |
| 276 | public void run() { |
| 277 | System.out.println("New connection thread"); |
| 278 | HttpContext context = new BasicHttpContext(null); |
| 279 | try { |
| 280 | while (!Thread.interrupted() && this.conn.isOpen()) { |
| 281 | this.httpservice.handleRequest(this.conn, context); |
| 282 | } |
| 283 | } catch (ConnectionClosedException ex) { |
| 284 | System.err.println("Client closed connection"); |
| 285 | } catch (IOException ex) { |
| 286 | System.err.println("I/O error: " + ex.getMessage()); |
| 287 | } catch (HttpException ex) { |
| 288 | System.err.println("Unrecoverable HTTP protocol violation: " + ex.getMessage()); |
| 289 | } finally { |
| 290 | try { |
| 291 | this.conn.shutdown(); |
| 292 | } catch (IOException ignore) { |
| 293 | } |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | } |
| 298 |
nothing calls this directly
no test coverage detected