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)
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)
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)
setEnvironmentFactory(ApiProxy.EnvironmentFactory arg0)
public static synchronized void setEnvironmentFactory(ApiProxy.EnvironmentFactory arg0)
setEnvironmentForCurrentThread(ApiProxy.Environment arg0)
public static void setEnvironmentForCurrentThread(ApiProxy.Environment arg0)
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 2023-04-26 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]