|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.connection.url.Proxy
public class Proxy
Proxy allows the various connection implementations to define the details of a proxy host which may be needed to access the resource represented by them. A proxy instance defines all the needed information including authentication to configure a proxy host.
Constructor Summary | |
---|---|
Proxy(Node description) Instantiate this proxy from the serialized info |
|
Proxy(java.lang.String host, int port) Instantiate this proxy configuration. |
Method Summary | |
---|---|
void |
authenticate() Enforce poxy authentication to happnen at runtime. |
protected Node |
describe() Describe this proxy to enable it to be persisted by the Connection metadata |
java.lang.String |
getHost() Get the host name of this proxy server. |
int |
getPort() Get the port on which the proxy is accepting requests |
void |
setAuthenticationScheme(AuthenticationScheme authScheme) Set the AuthenticationScheme on this proxy needed for authentication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Proxy(java.lang.String host, int port)
host
- The hostname of the proxy serverport
- The port on which the proxy server is accepting requestspublic Proxy(Node description) throws ConnectionException
description
- The Node
describing this proxy{@link
- ConnectionException} if an error occured reading the description to initialize the proxy.ConnectionException
Method Detail |
---|
public void setAuthenticationScheme(AuthenticationScheme authScheme)
AuthenticationScheme
on this proxy needed for authentication.authScheme
- The AuthenticationScheme
used by this proxy for authentication.public void authenticate() throws ConnectionException
{@link
- ConnectionException} if there was a failure or error authenticating against the proxy.ConnectionException
public java.lang.String getHost()
public int getPort()
protected Node describe() throws ConnectionException
Node
describing this Proxy.{@link
- ConnectionException} if the description cannot be provided.ConnectionException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |