|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.auth.SSLClient
public class SSLClient
This is a sample client that can use grab the contents of a page. The single command line argument is the URL to retrieve. The result is sent to standard out.
| Constructor Summary | |
|---|---|
SSLClient()
|
|
| Method Summary | |
|---|---|
protected String |
getUrl()
Retrieves the URL to connect. |
static void |
main(String[] args)
Runs the program. |
void |
run()
Main method. |
protected void |
setUrl(String url)
Sets the URL to connect to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLClient()
| Method Detail |
|---|
public void run()
throws UnknownHostException,
IOException
UnknownHostException
IOExceptionprotected String getUrl()
protected void setUrl(String url)
url -
public static void main(String[] args)
throws Exception
args - The first argument should be the URL to connect to.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||