|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.net.HTTPLoader
com.cometway.net.SecureHTTPLoader
public class SecureHTTPLoader
Implements a secure version of HTTPSLoader capable of accessing Web Services that use SSL.
| Field Summary | |
|---|---|
java.lang.String |
cert1_file
This is the path and filename of the non-passphrased, X509 certificate associated with the private key. |
java.lang.String |
key_file
This is the path and filename of the non-passphrased, PKCS8 encoded private key in PEM format. |
protected HTTPResponse |
response
|
| Constructor Summary | |
|---|---|
SecureHTTPLoader()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
This class can be called from the command line to retrieve a page. |
protected void |
openSocket()
Opens a socket connection. |
protected byte[] |
readBinaryFile(java.io.File file)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String key_file
public java.lang.String cert1_file
protected HTTPResponse response
| Constructor Detail |
|---|
public SecureHTTPLoader()
| Method Detail |
|---|
protected byte[] readBinaryFile(java.io.File file)
readBinaryFile in class HTTPLoader
protected void openSocket()
throws java.lang.Exception
openSocket in class HTTPLoaderjava.lang.Exceptionpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||