FileDocCategorySizeDatePackage
SSLExample.javaAPI DocExample1501Wed May 18 09:39:00 BST 2005com.discursive.jccook.httpclient

SSLExample

public class SSLExample extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		HttpClient client = new HttpClient();
		String url = "https://www.amazon.com/gp/flex/sign-in.html";
		HttpMethod method = new GetMethod( url );
		client.executeMethod( method );
		String response = method.getResponseBodyAsString();
		System.out.println( response );
		method.releaseConnection();
		method.recycle();