Uses of Class
com.alibaba.dashscope.applications.agentstudio.exception.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in com.alibaba.dashscope.applications.agentstudio.api
Methods in com.alibaba.dashscope.applications.agentstudio.api that throw ApiExceptionModifier and TypeMethodDescriptionvoidGeneralApi.call(ParamT param, ServiceOption serviceOptions, ResultCallback<DashScopeResult> callback) Call the server to get the result in the callback function.GeneralApi.get(HalfDuplexParamBase param, ServiceOption serviceOption) Make a get request. -
Uses of ApiException in com.alibaba.dashscope.applications.agentstudio.common
Methods in com.alibaba.dashscope.applications.agentstudio.common that throw ApiExceptionModifier and TypeMethodDescriptionprotected <T extends Result>
TDashScopeResult.fromResponse(Protocol protocol, NetworkResponse response) <T extends Result>
TDashScopeResult.fromResponse(Protocol protocol, NetworkResponse response, boolean isFlattenResult) <T extends Result>
TDashScopeResult.fromResponse(Protocol protocol, NetworkResponse response, boolean isFlattenResult, HalfDuplexRequest req) protected abstract <T extends Result>
TResult.fromResponse(Protocol protocol, NetworkResponse response) Load data from the server output.abstract <T extends Result>
TResult.fromResponse(Protocol protocol, NetworkResponse response, boolean isFlattenResult) abstract <T extends Result>
TResult.fromResponse(Protocol protocol, NetworkResponse response, boolean isFlattenResult, HalfDuplexRequest req) -
Uses of ApiException in com.alibaba.dashscope.applications.agentstudio.protocol
Methods in com.alibaba.dashscope.applications.agentstudio.protocol that throw ApiExceptionModifier and TypeMethodDescriptionHalfDuplexRequest.getHttpRequest()HalfDuplexClient.send(HalfDuplexRequest req) Blocking send http request and get the response body.voidHalfDuplexClient.send(HalfDuplexRequest req, ResultCallback<DashScopeResult> callback) -
Uses of ApiException in com.alibaba.dashscope.applications.agentstudio.protocol.okhttp
Methods in com.alibaba.dashscope.applications.agentstudio.protocol.okhttp that throw ApiExceptionModifier and TypeMethodDescriptionOkHttpHttpClient.send(HalfDuplexRequest req) voidOkHttpHttpClient.send(HalfDuplexRequest req, ResultCallback<DashScopeResult> callback) -
Uses of ApiException in com.alibaba.dashscope.applications.agentstudio.utils
Methods in com.alibaba.dashscope.applications.agentstudio.utils that throw ApiExceptionModifier and TypeMethodDescriptionstatic StringEncryptionUtils.AESDecrypt(String cipherText, SecretKey secretKey, byte[] iv) AES decrypting encrypted cipher text.static StringEncryptionUtils.AESEncrypt(byte[] input, SecretKey secretKey, byte[] iv) AES encrypt input, and output base64 encoded cipher text.static StringEncryptionUtils.AESEncrypt(String input, SecretKey secretKey, byte[] iv) AES encrypt input, and output base64 encoded cipher text.static EncryptionConfigEncryptionUtils.generateEncryptionConfig(String apiKey) Generate a EncryptionConfig.static EncryptionConfigEncryptionUtils.generateEncryptionConfig(String apiKey, String baseHttpUrl) Generate a EncryptionConfig, fetching the public key from the given base URL.EncryptionKeys.get()static StringEncryptionUtils.RSAEncrypt(String input, String base64AESEncryptKey) RSA encrypt the input string, return the base64 encoded cipher text.