@Override protected void detach() { // override needed only to make method visible in this package super.detach(); } }
@Override protected ClientConnectionManager getManager() { // override needed only to make method visible in this package return super.getManager(); }
public void close() throws IOException { if (poolEntry != null) poolEntry.shutdownEntry(); OperatedClientConnection conn = getWrappedConnection(); if (conn != null) { conn.close(); } }
public void tunnelTarget(final boolean secure, final HttpParams params) throws IOException { final AbstractPoolEntry entry = getPoolEntry(); assertValid(entry); entry.tunnelTarget(secure, params); }
public void shutdown() throws IOException { final AbstractPoolEntry entry = getPoolEntry(); if (entry != null) { entry.shutdownEntry(); } final OperatedClientConnection conn = getWrappedConnection(); if (conn != null) { conn.shutdown(); } }
public void open(HttpRoute route, HttpContext context, HttpParams params) throws IOException { assertAttached(); poolEntry.open(route, context, params); }
/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }
@Override protected AbstractPoolEntry getPoolEntry() { // override needed only to make method visible in this package return super.getPoolEntry(); }
@Override public void open(final HttpRoute route, final HttpContext context, final HttpParams params) throws IOException { final AbstractPoolEntry entry = getPoolEntry(); assertValid(entry); entry.open(route, context, params); }
public void close() throws IOException { final AbstractPoolEntry entry = getPoolEntry(); if (entry != null) { entry.shutdownEntry(); } final OperatedClientConnection conn = getWrappedConnection(); if (conn != null) { conn.close(); } }
public void layerProtocol(HttpContext context, HttpParams params) throws IOException { assertAttached(); poolEntry.layerProtocol(context, params); }
/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }
@Override protected AbstractPoolEntry getPoolEntry() { // override needed only to make method visible in this package return super.getPoolEntry(); }
@Override public HttpRoute getRoute() { final AbstractPoolEntry entry = getPoolEntry(); assertValid(entry); return (entry.tracker == null) ? null : entry.tracker.toRoute(); }
public void close() throws IOException { final AbstractPoolEntry entry = getPoolEntry(); if (entry != null) { entry.shutdownEntry(); } final OperatedClientConnection conn = getWrappedConnection(); if (conn != null) { conn.close(); } }
public void shutdown() throws IOException { if (poolEntry != null) poolEntry.shutdownEntry(); OperatedClientConnection conn = getWrappedConnection(); if (conn != null) { conn.shutdown(); } }
@Override protected ClientConnectionManager getManager() { // override needed only to make method visible in this package return super.getManager(); }
@Override protected void detach() { // override needed only to make method visible in this package super.detach(); }
public HttpRoute getRoute() { assertAttached(); return (poolEntry.tracker == null) ? null : poolEntry.tracker.toRoute(); }
/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }