Uses of Class
io.github.easy4j.opencode.OpenCodeHttpClientConfig
Packages that use OpenCodeHttpClientConfig
-
Uses of OpenCodeHttpClientConfig in io.github.easy4j.opencode
Methods in io.github.easy4j.opencode with parameters of type OpenCodeHttpClientConfigModifier and TypeMethodDescriptionstatic okhttp3.OkHttpClientOpenCodeOkHttpClientFactory.create(OpenCodeHttpClientConfig config) 根据 OpenCode HTTP 配置创建客户端。Constructors in io.github.easy4j.opencode with parameters of type OpenCodeHttpClientConfigModifierConstructorDescriptionOpenCodeClient(OpenCodeHttpClientConfig httpConfig) 仅 HTTP 子系统(CLI 禁用)。OpenCodeClient(OpenCodeHttpClientConfig httpConfig, com.fasterxml.jackson.databind.ObjectMapper objectMapper, okhttp3.OkHttpClient httpClient) 仅 HTTP 子系统(CLI 禁用),强制注入共享 ObjectMapper 与 OkHttpClient。OpenCodeClient(OpenCodeHttpClientConfig httpConfig, OpenCodeCliConfig cliConfig) HTTP + CLI 子系统。OpenCodeClient(OpenCodeHttpClientConfig httpConfig, OpenCodeCliConfig cliConfig, com.fasterxml.jackson.databind.ObjectMapper objectMapper, okhttp3.OkHttpClient httpClient) HTTP + CLI 子系统,强制注入共享 ObjectMapper 与 OkHttpClient。 -
Uses of OpenCodeHttpClientConfig in io.github.easy4j.opencode.api
Constructors in io.github.easy4j.opencode.api with parameters of type OpenCodeHttpClientConfigModifierConstructorDescription创建 open code chat client 实例,并按传入依赖确定资源所有权。OpenCodeChatClient(OpenCodeHttpClientConfig config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, okhttp3.OkHttpClient httpClient) 创建 open code chat client 实例,并按传入依赖确定资源所有权。OpenCodeChatClient(OpenCodeHttpClientConfig config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, okhttp3.OkHttpClient httpClient, OpenCodeSseClient sseClient) 创建 open code chat client 实例,并按传入依赖确定资源所有权。OpenCodeHttpClient(OpenCodeHttpClientConfig config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, okhttp3.OkHttpClient httpClient) 创建 open code http client 实例,并按传入依赖确定资源所有权。使用 SDK 自建 OkHttpClient 创建 SSE 客户端。OpenCodeSseClient(OpenCodeHttpClientConfig config, com.fasterxml.jackson.databind.ObjectMapper objectMapper, okhttp3.OkHttpClient httpClient) 使用共享 ObjectMapper 和 OkHttpClient 创建 SSE 客户端。