public void connectionOpen(final NHttpConnection conn) { System.out.println("Connection open: " + conn); }
public void connectionTimeout(final NHttpConnection conn) { System.out.println("Connection timed out: " + conn); }
public void connectionClosed(final NHttpConnection conn) { System.out.println("Connection closed: " + conn); }
public void fatalIOException(final IOException ex, final NHttpConnection conn) { System.err.println("I/O error: " + ex.getMessage()); }
public void fatalProtocolException(final HttpException ex, final NHttpConnection conn) { System.err.println("HTTP error: " + ex.getMessage()); }
private void shutdownConnection(final NHttpConnection conn) { try { conn.shutdown(); } catch (IOException ignore) { } }
private void closeConnection(final NHttpConnection conn) { try { conn.close(); } catch (IOException ignore) { } }
public void connectionOpen(final NHttpConnection conn) { if (log.isInfoEnabled()) { log.info("Connection open: " + conn); } }
public void connectionTimeout(final NHttpConnection conn) { if (log.isInfoEnabled()) { log.info("Connection timed out: " + conn); } }
public void connectionClosed(final NHttpConnection conn) { if (log.isInfoEnabled()) { log.info("Connection closed: " + conn); } }
public void fatalIOException(final IOException ex, final NHttpConnection conn) { log.error("I/O error: " + ex.getMessage()); }
public void fatalProtocolException(final HttpException ex, final NHttpConnection conn) { log.error("HTTP error: " + ex.getMessage()); }
public void fatalIOException(IOException ex, NHttpConnection conn) { IdeLog.logWarning(WebServerCorePlugin.getDefault(), ex); }
public void fatalProtocolException(HttpException ex, NHttpConnection conn) { IdeLog.logWarning(WebServerCorePlugin.getDefault(), ex); }
public void connectionOpen(NHttpConnection conn) { }