| examples |
|
| Java Source File Name | Type | Comment |
| AlternateAuthenticationExample.java | Class | A simple example that uses alternate authentication scheme selection
if several authentication challenges are returned.
Per default HttpClient picks the authentication challenge in the following
order of preference: NTLM, Digest, Basic. |
| BasicAuthenticationExample.java | Class | A simple example that uses HttpClient to perform a GET using Basic
Authentication. |
| ChunkEncodedPost.java | Class | Example how to use unbuffered chunk-encoded POST request. |
| ClientApp.java | Class | A simple Swing application that demonstrates how to use the Jakarta
HttpClient API. |
| CookieDemoApp.java | Class | This is a sample application that demonstrates
how to use the Jakarta HttpClient API.
This application sets an HTTP cookie and
updates the cookie's value across multiple
HTTP GET requests.
author: Sean C. |
| CustomAuthenticationExample.java | Class | A simple custom AuthScheme example. |
| FormLoginDemo.java | Class |
A example that demonstrates how HttpClient APIs can be used to perform
form-based logon. |
| InteractiveAuthenticationExample.java | Class | A simple example that uses HttpClient to perform interactive
authentication. |
| MultipartFileUploadApp.java | Class | This is a Swing application that demonstrates
how to use the Jakarta HttpClient multipart POST method
for uploading files
author: Sean C. |
| MultiThreadedExample.java | Class | An example that performs GETs from multiple threads. |
| PostSOAP.java | Class | This is a sample application that demonstrates
how to use the Jakarta HttpClient API.
This application sends an XML document
to a remote web server using HTTP POST
author: Sean C. |
| PostXML.java | Class | This is a sample application that demonstrates
how to use the Jakarta HttpClient API.
This application sends an XML document
to a remote web server using HTTP POST
author: Sean C. |
| ProxyTunnelDemo.java | Class | Example code for using
org.apache.commons.httpclient.ProxyClient . |
| TrivialApp.java | Class | This is a simple text mode application that demonstrates
how to use the Jakarta HttpClient API. |
| UnbufferedPost.java | Class | Example how to use unbuffered POST request. |