Class ApiProxy (2.0.0)

public class ApiProxy

Inheritance

java.lang.Object > ApiProxy

Static Methods

clearEnvironmentForCurrentThread()

public static void clearEnvironmentForCurrentThread()

flushLogs()

public static void flushLogs()

getCurrentEnvironment()

public static ApiProxy.Environment getCurrentEnvironment()
Returns
Type Description
Environment

getDelegate()

public static ApiProxy.Delegate getDelegate()
Returns
Type Description
Delegate

getEnvironmentFactory()

public static synchronized ApiProxy.EnvironmentFactory getEnvironmentFactory()
Returns
Type Description
EnvironmentFactory

getRequestThreads()

public static List<Thread> getRequestThreads()
Returns
Type Description
List<Thread>

log(ApiProxy.LogRecord arg0)

public static void log(ApiProxy.LogRecord arg0)
Parameter
Name Description
arg0 LogRecord

makeAsyncCall(String arg0, String arg1, byte[] arg2)

public static Future<byte[]> makeAsyncCall(String arg0, String arg1, byte[] arg2)
Parameters
Name Description
arg0 String
arg1 String
arg2 byte[]
Returns
Type Description
Future<byte[]>

makeAsyncCall(String arg0, String arg1, byte[] arg2, ApiProxy.ApiConfig arg3)

public static Future<byte[]> makeAsyncCall(String arg0, String arg1, byte[] arg2, ApiProxy.ApiConfig arg3)
Parameters
Name Description
arg0 String
arg1 String
arg2 byte[]
arg3 ApiConfig
Returns
Type Description
Future<byte[]>

makeSyncCall(String arg0, String arg1, byte[] arg2)

public static byte[] makeSyncCall(String arg0, String arg1, byte[] arg2)
Parameters
Name Description
arg0 String
arg1 String
arg2 byte[]
Returns
Type Description
byte[]

makeSyncCall(String arg0, String arg1, byte[] arg2, ApiProxy.ApiConfig arg3)

public static byte[] makeSyncCall(String arg0, String arg1, byte[] arg2, ApiProxy.ApiConfig arg3)
Parameters
Name Description
arg0 String
arg1 String
arg2 byte[]
arg3 ApiConfig
Returns
Type Description
byte[]

setDelegate(ApiProxy.Delegate<?> arg0)

public static void setDelegate(ApiProxy.Delegate<?> arg0)
Parameter
Name Description
arg0 Delegate<?>

setEnvironmentFactory(ApiProxy.EnvironmentFactory arg0)

public static synchronized void setEnvironmentFactory(ApiProxy.EnvironmentFactory arg0)
Parameter
Name Description
arg0 EnvironmentFactory

setEnvironmentForCurrentThread(ApiProxy.Environment arg0)

public static void setEnvironmentForCurrentThread(ApiProxy.Environment arg0)
Parameter
Name Description
arg0 Environment