|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
waggle.core.http.XHTTPSession
public final class XHTTPSession
Ya need one of these per thread right now cause of the instance fields.
| Field Summary | |
|---|---|
static String |
ENABLE_SELF_SIGNED_CERTIFICATESProperty name to enable self signed certificates. |
| Constructor Summary | |
|---|---|
XHTTPSession(String host)Create an HTTP Session for the specified host and default path. |
|
XHTTPSession(String host, String proxyHost, int proxyPort)Create an HTTP Session for the specified host and path using the specified proxy host and port. |
|
| Method Summary | |
|---|---|
XHTTPMethod |
getMethod(String path)Get an XHTTPMethod for this XHTTPSession using the specified path. |
void |
setConnectionTimeout(int timeout)Set the connection timeout in milliseconds. |
void |
setCredentials(String userName, String userPassword)Set the credentials to use. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ENABLE_SELF_SIGNED_CERTIFICATES
| Constructor Detail |
|---|
public XHTTPSession(String host)
host - The host.
public XHTTPSession(String host,
String proxyHost,
int proxyPort)
host - The host.proxyHost - The proxy host.proxyPort - The proxy port.| Method Detail |
|---|
public void setConnectionTimeout(int timeout)
timeout - The connection timeout in milliseconds.
public void setCredentials(String userName,
String userPassword)
userName - The User name.userPassword - The User password.public XHTTPMethod getMethod(String path)
path - The path.
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||