Send feedback
Class ApiProxy (2.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
Static Methods
clearEnvironmentForCurrentThread()
public static void clearEnvironmentForCurrentThread()
flushLogs()
public static void flushLogs()
getCurrentEnvironment()
public static ApiProxy.Environment getCurrentEnvironment()
getDelegate()
public static ApiProxy.Delegate getDelegate()
getEnvironmentFactory()
public static synchronized ApiProxy.EnvironmentFactory getEnvironmentFactory()
getRequestThreads()
public static List<Thread> getRequestThreads()
log(ApiProxy.LogRecord arg0)
public static void log(ApiProxy.LogRecord arg0)
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)
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)
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)
setEnvironmentForCurrentThread(ApiProxy.Environment arg0)
public static void setEnvironmentForCurrentThread(ApiProxy.Environment arg0)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]