Class OkHttpClientFactory
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.protocol.okhttp.OkHttpClientFactory
Builds the OkHttp clients used by the AgentStudio HTTP transport.
-
Method Summary
Modifier and TypeMethodDescriptionstatic okhttp3.OkHttpClientgetNewOkHttpClient(ConnectionOptions connectionOptions) Use default http client pool.static okhttp3.OkHttpClient
-
Method Details
-
getOkHttpClient
public static okhttp3.OkHttpClient getOkHttpClient() -
getNewOkHttpClient
Use default http client pool.
-