|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.authorize.arb.http.HttpUtil
public class HttpUtil
WRITEME: The documentation for this type (HttpUtil) is incomplete. (brpocock@star-hope.org, Sep 23, 2009)
Nested Class Summary | |
---|---|
private static class |
HttpUtil.SavingTrustManager
WRITEME: The documentation for this type (SavingTrustManager) is incomplete. |
Field Summary | |
---|---|
static String |
CERTIFICATE_FILE
WRITEME: document this field (brpocock@star-hope.org, Sep 23, 2009) CERTIFICATE_FILE (HttpUtil) |
private static String |
default_password
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) default_password (HttpUtil) |
private String |
hostProperty
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) hostProperty (HttpUtil) |
static int |
HTTP_PORT
WRITEME: document this field (brpocock@star-hope.org, Sep 23, 2009) HTTP_PORT (HttpUtil) |
static int |
HTTPS_PORT
WRITEME: document this field (brpocock@star-hope.org, Sep 23, 2009) HTTPS_PORT (HttpUtil) |
private boolean |
is_secure
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) is_secure (HttpUtil) |
private KeyStore |
keys
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) keys (HttpUtil) |
private String |
pathProperty
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) pathProperty (HttpUtil) |
Constructor Summary | |
---|---|
HttpUtil(URL url)
|
Method Summary | |
---|---|
void |
cleanup()
WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009) |
private String |
doSocketTransfer(Socket socket,
String path,
String post_data)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private String |
getHttpSocket(String thatHost,
String path,
String post_data)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private KeyStore |
getKeyStore(char[] certificate_password)
WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009) |
private String |
getSecureHttpSocket(String thatHost,
String path,
String post_data)
WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009) |
private String |
getSecureHttpSocket(String password,
String host,
String path,
String post_data)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
getURL()
WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009) |
boolean |
initializeKeyStore(String theHost)
WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009) |
boolean |
initializeKeyStore(String password,
String host)
WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009) |
String |
postUrl(String data)
WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CERTIFICATE_FILE
private static final String default_password
public static final int HTTP_PORT
public static final int HTTPS_PORT
private String hostProperty
private boolean is_secure
private KeyStore keys
private String pathProperty
Constructor Detail |
---|
public HttpUtil(URL url)
url
- WRITEMEMethod Detail |
---|
public void cleanup()
private String doSocketTransfer(Socket socket, String path, String post_data) throws IOException
socket
- WRITEMEpath
- WRITEMEpost_data
- WRITEME
IOException
- WRITEMEprivate String getHttpSocket(String thatHost, String path, String post_data)
thatHost
- WRITEMEpath
- WRITEMEpost_data
- WRITEME
private KeyStore getKeyStore(char[] certificate_password)
certificate_password
- WRITEME
private String getSecureHttpSocket(String thatHost, String path, String post_data)
thatHost
- WRITEMEpath
- WRITEMEpost_data
- WRITEME
private String getSecureHttpSocket(String password, String host, String path, String post_data)
password
- WRITEMEhost
- WRITEMEpath
- WRITEMEpost_data
- WRITEME
public String getURL()
public boolean initializeKeyStore(String theHost)
theHost
- WRITEME
public boolean initializeKeyStore(String password, String host)
password
- WRITEMEhost
- WRITEME
public String postUrl(String data)
data
- WRITEME
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |