org.owasp.webscarab.httpclient
Class HTTPClientFactory
java.lang.Object
org.owasp.webscarab.httpclient.HTTPClientFactory
public class HTTPClientFactory
- extends java.lang.Object
- Author:
- rdawes
Constructor Summary |
protected |
HTTPClientFactory()
Creates a new instance of HttpClientFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPClientFactory
protected HTTPClientFactory()
- Creates a new instance of HttpClientFactory
getInstance
public static HTTPClientFactory getInstance()
getSSLContextManager
public SSLContextManager getSSLContextManager()
setHttpProxy
public void setHttpProxy(java.lang.String proxy,
int port)
getHttpProxy
public java.lang.String getHttpProxy()
getHttpProxyPort
public int getHttpProxyPort()
setHttpsProxy
public void setHttpsProxy(java.lang.String proxy,
int port)
getHttpsProxy
public java.lang.String getHttpsProxy()
getHttpsProxyPort
public int getHttpsProxyPort()
setNoProxy
public void setNoProxy(java.lang.String[] noProxy)
getNoProxy
public java.lang.String[] getNoProxy()
setTimeouts
public void setTimeouts(int connectTimeout,
int readTimeout)
setAuthenticator
public void setAuthenticator(Authenticator authenticator)
getAuthenticator
public Authenticator getAuthenticator()
getHTTPClient
public HTTPClient getHTTPClient()
fetchResponse
public Response fetchResponse(Request request)
throws java.io.IOException
- Throws:
java.io.IOException