public class ExtendedHttpConnection
extends org.apache.commons.httpclient.HttpConnection
Modifier and Type | Class and Description |
---|---|
(package private) class |
ExtendedHttpConnection.CommonsHttpMethodRetryHandler |
Modifier and Type | Field and Description |
---|---|
private boolean |
fromPool |
private org.apache.commons.httpclient.HostConfiguration |
hostConfiguration |
private static org.apache.commons.logging.Log |
logger |
private ExtendedHttpConnection.CommonsHttpMethodRetryHandler |
retryHandler |
private boolean |
staleChecking |
Constructor and Description |
---|
ExtendedHttpConnection(org.apache.commons.httpclient.HostConfiguration hc,
boolean staleChecking) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.httpclient.HostConfiguration |
getHostConfiguration() |
protected org.apache.commons.httpclient.HttpMethodRetryHandler |
getRetryHandler() |
protected boolean |
isFromPool() |
protected void |
setFromPool(boolean fromPool) |
void |
writeLine() |
assertNotOpen, assertOpen, close, closeIfStale, closeSocketAndStreams, flushRequestOutputStream, getHost, getHttpConnectionManager, getLastResponseInputStream, getLocalAddress, getParams, getPort, getProtocol, getProxyHost, getProxyPort, getRequestOutputStream, getResponseInputStream, getSendBufferSize, getSocket, getSoTimeout, getVirtualHost, isLocked, isOpen, isProxied, isResponseAvailable, isResponseAvailable, isSecure, isStale, isStaleCheckingEnabled, isTransparent, open, print, print, printLine, printLine, printLine, readLine, readLine, releaseConnection, setConnectionTimeout, setHost, setHttpConnectionManager, setLastResponseInputStream, setLocalAddress, setLocked, setParams, setPort, setProtocol, setProxyHost, setProxyPort, setSendBufferSize, setSocketTimeout, setSoTimeout, setStaleCheckingEnabled, setVirtualHost, shutdownOutput, tunnelCreated, write, write, writeLine
private static org.apache.commons.logging.Log logger
private boolean staleChecking
private boolean fromPool
private ExtendedHttpConnection.CommonsHttpMethodRetryHandler retryHandler
private org.apache.commons.httpclient.HostConfiguration hostConfiguration
public ExtendedHttpConnection(org.apache.commons.httpclient.HostConfiguration hc, boolean staleChecking)
protected org.apache.commons.httpclient.HostConfiguration getHostConfiguration()
protected void setFromPool(boolean fromPool)
protected boolean isFromPool()
protected org.apache.commons.httpclient.HttpMethodRetryHandler getRetryHandler()
public void writeLine() throws java.io.IOException, java.lang.IllegalStateException
writeLine
in class org.apache.commons.httpclient.HttpConnection
java.io.IOException
java.lang.IllegalStateException