|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.util.httpclient.HttpClientFactory
public class HttpClientFactory
Initial Date: 21.03.2007
| Constructor Summary | |
|---|---|
HttpClientFactory()
|
|
| Method Summary | |
|---|---|
static org.apache.commons.httpclient.HttpClient |
getHttpClientInstance()
A HttpClient without basic authentication and no host or port setting. |
static org.apache.commons.httpclient.HttpClient |
getHttpClientInstance(java.lang.String host,
int port,
java.lang.String protocol,
java.lang.String user,
java.lang.String password)
A HttpClient with basic authentication and host or port setting. |
static org.apache.commons.httpclient.HttpClient |
getHttpClientInstance(java.lang.String user,
java.lang.String password)
A HttpClient with basic authentication and no host or port setting. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpClientFactory()
| Method Detail |
|---|
public static org.apache.commons.httpclient.HttpClient getHttpClientInstance()
public static org.apache.commons.httpclient.HttpClient getHttpClientInstance(java.lang.String user,
java.lang.String password)
user - can be NULLpassword - can be NULL
public static org.apache.commons.httpclient.HttpClient getHttpClientInstance(java.lang.String host,
int port,
java.lang.String protocol,
java.lang.String user,
java.lang.String password)
host - must not be NULLport - must not be NULLprotocol - must not be NULLuser - can be NULLpassword - can be NULL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||