@Override public void close() { // Gentler close for SSL. getEndPoint().shutdownOutput(); super.close(); } }
@Override public void close() { // Gentler close for SSL. getEndPoint().shutdownOutput(); super.close(); } }
@Override public void close() { // Gentler close for SSL. getEndPoint().shutdownOutput(); super.close(); } }
@Override public void close() { // Gentler close for SSL. getEndPoint().shutdownOutput(); super.close(); } }
private int fill() { try { return getEndPoint().fill(BufferUtil.EMPTY_BUFFER); } catch (IOException x) { LOG.debug(x); close(); return -1; } }
private int fill() { try { return getEndPoint().fill(BufferUtil.EMPTY_BUFFER); } catch (IOException x) { LOG.debug(x); close(); return -1; } }
private int fill() { try { return getEndPoint().fill(BufferUtil.EMPTY_BUFFER); } catch (IOException x) { LOG.debug(x); close(); return -1; } }
private int fill() { try { return getEndPoint().fill(BufferUtil.EMPTY_BUFFER); } catch (IOException x) { LOG.debug(x); close(); return -1; } }
private void replaceConnection() { EndPoint endPoint = getEndPoint(); try { endPoint.upgrade(connectionFactory.newConnection(endPoint, context)); } catch (Throwable x) { LOG.debug(x); close(); } }
private void replaceConnection() { EndPoint endPoint = getEndPoint(); try { endPoint.upgrade(connectionFactory.newConnection(endPoint, context)); } catch (Throwable x) { LOG.debug(x); close(); } }
private void replaceConnection() { EndPoint endPoint = getEndPoint(); try { endPoint.upgrade(connectionFactory.newConnection(endPoint, context)); } catch (Throwable x) { LOG.debug(x); close(); } }
private void replaceConnection() { EndPoint endPoint = getEndPoint(); try { Connection oldConnection = endPoint.getConnection(); Connection newConnection = connectionFactory.newConnection(endPoint, context); ClientConnectionFactory.Helper.replaceConnection(oldConnection, newConnection); } catch (Throwable x) { LOG.debug(x); close(); } }
@Override public void onOpen() { super.onOpen(); try { getEndPoint().flush(BufferUtil.EMPTY_BUFFER); if (completed) replaceConnection(); else fillInterested(); } catch (IOException x) { close(); throw new RuntimeIOException(x); } }
@Override public void onOpen() { super.onOpen(); try { getEndPoint().flush(BufferUtil.EMPTY_BUFFER); if (completed) replaceConnection(); else fillInterested(); } catch (IOException x) { close(); throw new RuntimeIOException(x); } }
@Override public void onOpen() { super.onOpen(); try { getEndPoint().flush(BufferUtil.EMPTY_BUFFER); if (completed) replaceConnection(); else fillInterested(); } catch (IOException x) { close(); throw new RuntimeIOException(x); } }
@Override public void onOpen() { super.onOpen(); try { getEndPoint().flush(BufferUtil.EMPTY_BUFFER); if (completed) replaceConnection(); else fillInterested(); } catch (IOException x) { close(); throw new RuntimeIOException(x); } }