Java HTTP Client Examples
The following example programs are provided:
- HttpRequestExample.java -
Shows how to do a GET or POST request. Also shows how to use
the HttpUserAgent for authentication. You can use this to test authentication
on a website.
- HttpGetPipeline.java -
Shows how to do pipelining with an HTTP GET.
- TestPerf.java -
Used to conduct performance tests comparing the Sun, Oakland,
and Oakland with pipelining implementations.
Then there are some supporting classes:
All of these examples are included in the kit.
|