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
TypeDescription
Environment

getDelegate()

public static ApiProxy.Delegate getDelegate()
Returns
TypeDescription
Delegate

getEnvironmentFactory()

public static synchronized ApiProxy.EnvironmentFactory getEnvironmentFactory()
Returns
TypeDescription
EnvironmentFactory

getRequestThreads()

public static List<Thread> getRequestThreads()
Returns
TypeDescription
List<Thread>

log(ApiProxy.LogRecord arg0)

public static void log(ApiProxy.LogRecord arg0)
Parameter
NameDescription
arg0LogRecord

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

public static Future<byte[]> makeAsyncCall(String arg0, String arg1, byte[] arg2)
Parameters
NameDescription
arg0String
arg1String
arg2byte[]
Returns
TypeDescription
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
NameDescription
arg0String
arg1String
arg2byte[]
arg3ApiConfig
Returns
TypeDescription
Future<byte[]>

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

public static byte[] makeSyncCall(String arg0, String arg1, byte[] arg2)
Parameters
NameDescription
arg0String
arg1String
arg2byte[]
Returns
TypeDescription
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
NameDescription
arg0String
arg1String
arg2byte[]
arg3ApiConfig
Returns
TypeDescription
byte[]

setDelegate(ApiProxy.Delegate<?> arg0)

public static void setDelegate(ApiProxy.Delegate<?> arg0)
Parameter
NameDescription
arg0Delegate<?>

setEnvironmentFactory(ApiProxy.EnvironmentFactory arg0)

public static synchronized void setEnvironmentFactory(ApiProxy.EnvironmentFactory arg0)
Parameter
NameDescription
arg0EnvironmentFactory

setEnvironmentForCurrentThread(ApiProxy.Environment arg0)

public static void setEnvironmentForCurrentThread(ApiProxy.Environment arg0)
Parameter
NameDescription
arg0Environment