|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.sf.urlchecker.v2.communication.CommunicationBuilder
public class CommunicationBuilder
The new CommunicationBuilder Class. This and the CheckUrlsCommand in the v2 are mandatory to use the new HttpClient.
$Id: CommunicationBuilder.java 183 2010-12-17 19:10:21Z georgosn $
| Constructor Summary | |
|---|---|
CommunicationBuilder()
|
|
| Method Summary | |
|---|---|
org.apache.http.client.HttpClient |
getMultithreadedClient()
Returns the multithreaded client configured by the default httpconfigurations file in the class-path. |
org.apache.http.client.HttpClient |
getMultithreadedClient(String fileName)
Returns the multithreaded client configured by the given file if it exists in the class path. |
org.apache.http.client.HttpClient |
getSinglethreadedClient()
Return the singlethreaded client configured by the default httpconfigurations file in the class-path. |
org.apache.http.client.HttpClient |
getSinglethreadedClient(String fileName)
Gets the singlethreaded client configured by the given file if it exists in the class path. |
void |
shutdownCommunication()
Shutdown communication. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommunicationBuilder()
| Method Detail |
|---|
public org.apache.http.client.HttpClient getMultithreadedClient()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException - the configuration exception
public org.apache.http.client.HttpClient getMultithreadedClient(String fileName)
throws org.apache.commons.configuration.ConfigurationException
fileName - the file name
org.apache.commons.configuration.ConfigurationException - the configuration exception
public org.apache.http.client.HttpClient getSinglethreadedClient()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException - the configuration exception
public org.apache.http.client.HttpClient getSinglethreadedClient(String fileName)
throws org.apache.commons.configuration.ConfigurationException
fileName - the file name
org.apache.commons.configuration.ConfigurationException - the configuration exceptionpublic void shutdownCommunication()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||