@Override public boolean isInputShutdown() { return _endp.isInputShutdown(); }
@Override public boolean isInputShutdown() { return _underlying.isInputShutdown(); }
public boolean isInputShutdown() { return _endp.isInputShutdown(); }
@Override public boolean isInputShutdown() { return getEndPoint().isInputShutdown() || isInboundDone(); }
public boolean isInputShutdown() { synchronized (SslConnection.this) { return _endp.isInputShutdown() && !(_unwrapBuf!=null&&_unwrapBuf.hasContent()) && !(_inbound!=null&&_inbound.hasContent()); } }
public boolean isInputShutdown() { synchronized (SslConnection.this) { return _endp.isInputShutdown() && !(_unwrapBuf!=null&&_unwrapBuf.hasContent()) && !(_inbound!=null&&_inbound.hasContent()); } }
@Override public boolean isInputShutdown() { return getEndPoint().isInputShutdown() || isInboundDone(); }
public boolean isInputShutdown() { synchronized (SslConnection.this) { return _endp.isInputShutdown() && !(_unwrapBuf!=null&&_unwrapBuf.hasContent()) && !(_inbound!=null&&_inbound.hasContent()); } }
public boolean isInputShutdown() { synchronized (SslConnection.this) { return _endp.isInputShutdown() && !(_unwrapBuf!=null&&_unwrapBuf.hasContent()) && !(_inbound!=null&&_inbound.hasContent()); } }
private int fill(EndPoint endPoint, ByteBuffer buffer) { try { if (endPoint.isInputShutdown()) return -1; return endPoint.fill(buffer); } catch (IOException x) { if (LOG.isDebugEnabled()) LOG.debug("Could not read from " + endPoint, x); return -1; } }
private int fill(EndPoint endPoint, ByteBuffer buffer) { try { if (endPoint.isInputShutdown()) return -1; return endPoint.fill(buffer); } catch (IOException x) { endPoint.close(); throw new RuntimeIOException(x); } }
private int fill(EndPoint endPoint, ByteBuffer buffer) { try { if (endPoint.isInputShutdown()) return -1; return endPoint.fill(buffer); } catch (IOException x) { if (LOG.isDebugEnabled()) LOG.debug("Could not read from " + endPoint, x); return -1; } }
break; case HttpExchange.STATUS_PARSING_CONTENT: if (_endp.isInputShutdown() && _parser.isState(HttpParser.STATE_EOF_CONTENT)) break; default: String exch= exchange.toString(); String reason = _endp.isOpen()?(_endp.isInputShutdown()?"half closed: ":"local close: "):"closed: "; if (exchange.setStatus(HttpExchange.STATUS_EXCEPTED)) exchange.getEventListener().onException(new EofException(reason+exch));
public void onIdleExpired(long idleForMs) { try { LOG.debug("onIdleExpired {}ms {} {}",idleForMs,this,_endp); if (_endp.isInputShutdown() || _endp.isOutputShutdown()) _endp.close(); else _endp.shutdownOutput(); } catch(IOException e) { LOG.ignore(e); try { _endp.close(); } catch(IOException e2) { LOG.ignore(e2); } } }
public void onIdleExpired(long idleForMs) { try { LOG.debug("onIdleExpired {}ms {} {}",idleForMs,this,_endp); if (_endp.isInputShutdown() || _endp.isOutputShutdown()) _endp.close(); else _endp.shutdownOutput(); } catch(IOException e) { LOG.ignore(e); try { _endp.close(); } catch(IOException e2) { LOG.ignore(e2); } } }
public void onIdleExpired(long idleForMs) { try { LOG.debug("onIdleExpired {}ms {} {}",idleForMs,this,_endp); if (_endp.isInputShutdown() || _endp.isOutputShutdown()) _endp.close(); else _endp.shutdownOutput(); } catch(IOException e) { LOG.ignore(e); try { _endp.close(); } catch(IOException e2) { LOG.ignore(e2); } } }
public void onIdleExpired(long idleForMs) { try { LOG.debug("onIdleExpired {}ms {} {}",idleForMs,this,_endp); if (_endp.isInputShutdown() || _endp.isOutputShutdown()) _endp.close(); else _endp.shutdownOutput(); } catch(IOException e) { LOG.ignore(e); try { _endp.close(); } catch(IOException e2) { LOG.ignore(e2); } } }
else if (_endp.isInputShutdown() && !_closedIn) closeIn(CLOSE_PROTOCOL,null); else
synchronized(_decryptedEndPoint) boolean ishut = getEndPoint().isInputShutdown(); boolean oshut = getEndPoint().isOutputShutdown(); if (LOG.isDebugEnabled())
_state=_persistent?STATE_START:(_endp.isInputShutdown()?STATE_END:STATE_SEEKING_EOF); _contentLength=HttpTokens.UNKNOWN_CONTENT; _contentPosition=0;