@Override public void shutdownOutput() { _underlying.shutdownOutput(); }
@Override public void shutdownOutput() { _endp.shutdownOutput(); }
public void shutdownOutput() throws IOException { _endPoint.shutdownOutput(); }
public void onInputShutdown() throws IOException { if (_generator.isIdle()) _endp.shutdownOutput(); }
private void releaseEncryptedOutputBuffer() { if (!Thread.holdsLock(DecryptedEndPoint.this)) throw new IllegalStateException(); if (_encryptedOutput != null && !_encryptedOutput.hasRemaining()) { _bufferPool.release(_encryptedOutput); _encryptedOutput = null; if (_sslEngine.isOutboundDone()) getEndPoint().shutdownOutput(); } }
private void releaseEncryptedOutputBuffer() { if (!Thread.holdsLock(DecryptedEndPoint.this)) throw new IllegalStateException(); if (_encryptedOutput != null && !_encryptedOutput.hasRemaining()) { _bufferPool.release(_encryptedOutput); _encryptedOutput = null; if (_sslEngine.isOutboundDone()) getEndPoint().shutdownOutput(); } }
@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 onCompleteFailure(final Throwable x) { releaseHeader(); failedCallback(_callback,x); if (_shutdownOut) getEndPoint().shutdownOutput(); }
@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(); } }
@Override public void onCompleteFailure(final Throwable x) { releaseHeader(); failedCallback(_callback,x); if (_shutdownOut) getEndPoint().shutdownOutput(); }
@Override protected void onCompleteSuccess() { releaseHeader(); _callback.succeeded(); if (_shutdownOut) getEndPoint().shutdownOutput(); }
@Override protected void onCompleteSuccess() { releaseHeader(); _callback.succeeded(); if (_shutdownOut) getEndPoint().shutdownOutput(); }
@Override protected void onCompleteSuccess() { releaseHeader(); _callback.succeeded(); if (_shutdownOut) getEndPoint().shutdownOutput(); }
@Override public void disconnect() { if (LOG.isDebugEnabled()) LOG.debug("{} disconnect()",policy.getBehavior()); flusher.terminate(new EOFException("Disconnected"), false); EndPoint endPoint = getEndPoint(); // We need to gently close first, to allow // SSL close alerts to be sent by Jetty endPoint.shutdownOutput(); endPoint.close(); }
@Override public void close() { destination.remove(this); getEndPoint().shutdownOutput(); LOG.debug("{} oshut", this); getEndPoint().close(); LOG.debug("{} closed", this); }