|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Proxy
net.sourceforge.atunes.kernel.modules.proxy.Proxy
public class Proxy
The Class Proxy.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.net.Proxy |
|---|
java.net.Proxy.Type |
| Field Summary |
|---|
| Fields inherited from class java.net.Proxy |
|---|
NO_PROXY |
| Constructor Summary | |
|---|---|
Proxy(java.net.Proxy.Type type,
java.lang.String url,
int port,
java.lang.String user,
java.lang.String password)
Instantiates a new proxy. |
|
| Method Summary | |
|---|---|
java.net.URLConnection |
getConnection(java.net.URL u)
Gets the connection. |
java.lang.String |
getPassword()
Gets the password. |
int |
getPort()
Gets the port. |
java.lang.String |
getUrl()
Gets the url. |
java.lang.String |
getUser()
Gets the user. |
| Methods inherited from class java.net.Proxy |
|---|
address, equals, hashCode, toString, type |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Proxy(java.net.Proxy.Type type,
java.lang.String url,
int port,
java.lang.String user,
java.lang.String password)
throws java.net.UnknownHostException,
java.io.IOException
type - the typeurl - the urlport - the portuser - the userpassword - the password
java.net.UnknownHostException - the unknown host exception
java.io.IOException - Signals that an I/O exception has occurred.| Method Detail |
|---|
public java.net.URLConnection getConnection(java.net.URL u)
throws java.io.IOException
u - the u
java.io.IOException - Signals that an I/O exception has occurred.public java.lang.String getPassword()
public int getPort()
public java.lang.String getUrl()
public java.lang.String getUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||