org.drools.agent
Class HttpClientImpl
java.lang.Object
org.drools.agent.HttpClientImpl
- All Implemented Interfaces:
- IHttpClient
public class HttpClientImpl
- extends Object
- implements IHttpClient
|
Field Summary |
protected static org.slf4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient org.slf4j.Logger logger
HttpClientImpl
public HttpClientImpl()
checkLastUpdated
public org.drools.agent.LastUpdatedPing checkLastUpdated(URL url)
throws IOException
- Specified by:
checkLastUpdated in interface IHttpClient
- Throws:
IOException
fetchPackage
public Package fetchPackage(URL url,
boolean enableBasicAuthentication,
String username,
String password)
throws IOException,
ClassNotFoundException
- Specified by:
fetchPackage in interface IHttpClient
- Throws:
IOException
ClassNotFoundException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.