org.drools.agent
Class HttpClientImpl
java.lang.Object
org.drools.agent.HttpClientImpl
- All Implemented Interfaces:
- IHttpClient
public class HttpClientImpl
- extends Object
- implements IHttpClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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-2013 JBoss Inc.. All Rights Reserved.