HTTP Client ModuleModule: ext-http-client
Version: 0.9.0
Status: First release/Beta testing.
The ext-http-client module provides a set of HTTP client services. The services include support for client-side state management including session cookies and basic, digest and NTDomain HTTP authentication protocols.
Downloadhttp://www.1060.org/upload/ext-http-client-0.9.0.jar
http://www.1060.org/upload/test-http-client.zip
Installation[install] means the base path at which you installed NetKernel.
1. Copy
ext-http-client-0.9.0.jar to [install]/modules
2. Unzip
test-http-client.zip to [install]/modules/test-http-client/
3. Edit [install]/etc/deployedModules.xml and add the following entries to modules
a) <module>modules/ext-http-client-0.9.0.jar</module>
b) <module>modules/test-http-client/</module>
4. Edit [install]/modules/front-end-fulcrum/module.xml
a) Add an entry in the mapping section...
<import>
<uri>urn:org:ten60:netkernel:test:ext:http:client</uri>
</import>
5. Reboot or Cold Restart NetKernel.
DocumentationThere are 5 new accessors: httpGet, httpPost, httpPut, httpDelete and httpState. They are fully documented - docs can be found in the ext-http-module entrypoints or are automatically discovered and found in the accessor listing section of the on-line documentation alternatively just search 'httpGet' etc).
Test/Example Module"test-http-client" is test module which provides a set of simple servers and some clients which will call the servers. Together this provides a self-hosted HTTP client-server environment.
At install step 4.the test module was imported into the front-end-fulcrum which and is accessible with a browser. The first test simple HTTP get test can be executed with...
http://localhost:8080/test-http-client/client/httpGet1.idocWithin the test module the client/ directory contains client tests etc.
TestingThis is a v0.9.0 release and it has been tested reasonably well. Please provide feedback and/or bug reports through the 1060 forum. Once we have your reports on stability etc we will release a v1.0.0 through the NetKernel update servers.