|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.webdav.ConnectionInfo
public class ConnectionInfo
Identifies all the information required to make a connection to a DAV server. This information includes the url of the resource (containing the host, port and path), userid, password, proxy host, proxy port, proxy userid, proxy password. This object is then passed to a connection constructor. For example, if one was using this to create a DAVResource, then use something similar to the following:
ConnectionInfo c = new ConnectionInfo( "http://example.com/dav/resource", "user", "pwd" ); c.setproxyHost( "myproxy.com" ); c.setproxyPort( 3100 ); DAVResource r = new DAVResource( c, _logger );
Constructor Summary | |
---|---|
ConnectionInfo(ConnectionInfo connection)
|
|
ConnectionInfo(java.lang.String url)
|
|
ConnectionInfo(java.lang.String url,
java.lang.String user,
java.lang.String pw)
|
Method Summary | |
---|---|
java.lang.String |
getProxyHost()
Returns the proxy host from the connection information |
int |
getProxyPort()
Returns the proxy port from the connection information |
java.lang.String |
getProxyPW()
Returns the proxy password from the connection information |
java.lang.String |
getProxyUser()
Returns the proxy user from the connection information |
java.lang.String |
getPW()
Returns the user password from the connection information |
java.lang.String |
getUrl()
Returns the url from the connection information |
java.lang.String |
getUser()
Returns the user from the connection information |
void |
setProxyHost(java.lang.String proxyHost)
Sets the proxy host in the connection information |
void |
setProxyPort(int proxyPort)
Sets the proxy port in the connection information |
void |
setProxyPW(java.lang.String proxyPW)
Sets the proxy password in the connection information |
void |
setProxyURL(java.net.URL proxyURL)
Sets the proxy in the connection information using a URL |
void |
setProxyUser(java.lang.String proxyUser)
Sets the proxy user in the connection information |
void |
setPW(java.lang.String pw)
Sets the user password in the connection information |
void |
setUrl(java.lang.String url)
Sets the url in the connection information |
void |
setUser(java.lang.String user)
Sets the user in the connection information |
Constructor Detail |
---|
public ConnectionInfo(java.lang.String url)
public ConnectionInfo(java.lang.String url, java.lang.String user, java.lang.String pw)
public ConnectionInfo(ConnectionInfo connection)
Method Detail |
---|
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- The url in the connection informationpublic java.lang.String getUser()
public void setUser(java.lang.String user)
user
- The user in the connection informationpublic java.lang.String getPW()
public void setPW(java.lang.String pw)
pw
- The user password in the connection informationpublic java.lang.String getProxyHost()
public void setProxyHost(java.lang.String proxyHost)
proxyHost
- The proxy host in the connection informationpublic int getProxyPort()
public void setProxyPort(int proxyPort)
proxyPort
- The proxy port in the connection informationpublic void setProxyURL(java.net.URL proxyURL)
proxyURL
- The proxy URL includes the host and portpublic java.lang.String getProxyUser()
public void setProxyUser(java.lang.String proxyUser)
proxyUser
- The proxy user in the connection informationpublic java.lang.String getProxyPW()
public void setProxyPW(java.lang.String proxyPW)
proxyPW
- The proxy password in the connection information
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |