|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.ghn.client.proxy.Proxy
public class Proxy
An embedded proxy for HTTP calls.
| Constructor Summary | |
|---|---|
Proxy()
Creates an instance with default settings. |
|
Proxy(ProxyConfiguration configuration)
Creates an instance with a given configuration. |
|
| Method Summary | |
|---|---|
ProxyConfiguration |
configuration()
Returns the ProxyConfiguration |
boolean |
isRunning()
Returns true if the proxy is running. |
CallManager |
manager()
Returns the CallManager. |
String |
name()
|
void |
start()
Starts the proxy. |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Proxy()
public Proxy(ProxyConfiguration configuration)
configuration - the configuration| Method Detail |
|---|
public String name()
name in interface org.gcube.common.ghn.client.ClientServicepublic CallManager manager()
CallManager.
public ProxyConfiguration configuration()
ProxyConfiguration
public void start()
throws RuntimeException
start in interface org.gcube.common.ghn.client.ClientServiceRuntimeExceptionpublic boolean isRunning()
true if the proxy is running.
true if the proxy is running.public void stop()
stop in interface org.gcube.common.ghn.client.ClientService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||