Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.core.http
Class XHTTPProxy

java.lang.Object
  extended by waggle.core.http.XHTTPProxy


public final class XHTTPProxy
extends Object

XHTTPProxy.


Method Summary
static Proxy getProxy()
          Get the Proxy for this server.
static Proxy getProxy(boolean enabled)
          Get the Proxy for this server.
static String getProxyHost()
          Get any proxy host.
static int getProxyPort()
          Get any proxy port.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getProxy

public static Proxy getProxy()
Get the Proxy for this server.
Returns:
The Proxy.

getProxy

public static Proxy getProxy(boolean enabled)
Get the Proxy for this server. If enabled is true any configured proxy will be returned. If enabled is false no proxy will be returned.
Parameters:
enabled - If enabled is true any configured proxy will be returned. If enabled is false no proxy will be returned.
Returns:
The Proxy.

getProxyHost

public static String getProxyHost()
Get any proxy host.
Returns:
Any proxy host or null.

getProxyPort

public static int getProxyPort()
Get any proxy port.
Returns:
Any proxy port.

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.