索引
All Classes and Interfaces|所有程序包|序列化表格
C
- chat(String, String, String) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a chat request to the Tbox API with default parameters.
- chat(String, String, String, String, String, Map<String, Object>, String, boolean, MessageParser, Map<String, Object>) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a chat request to the Tbox API.
- chatSync(String, String, String) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a synchronous chat request to the Tbox API with default parameters.
- chatSync(String, String, String, String, String, Map<String, Object>, String, Map<String, Object>) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a synchronous chat request to the Tbox API.
- cn.tbox.sdk - 程序包 cn.tbox.sdk
- cn.tbox.sdk.core.exception - 程序包 cn.tbox.sdk.core.exception
- cn.tbox.sdk.core.http - 程序包 cn.tbox.sdk.core.http
- cn.tbox.sdk.example - 程序包 cn.tbox.sdk.example
- cn.tbox.sdk.model.message - 程序包 cn.tbox.sdk.model.message
- completion(String, Map<String, Object>, String) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a completion request to the Tbox API with default parameters.
- completion(String, Map<String, Object>, String, String, String, String, boolean, MessageParser, Map<String, Object>) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a completion request to the Tbox API.
- completionSync(String, Map<String, Object>, String) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a synchronous completion request to the Tbox API with default parameters.
- completionSync(String, Map<String, Object>, String, String, String, String, Map<String, Object>) - 类中的方法 cn.tbox.sdk.TboxClient
-
Makes a synchronous completion request to the Tbox API.
- createHttpClient(HttpClientConfig) - 类中的方法 cn.tbox.sdk.TboxClient
-
Creates the HTTP client instance.
G
- get(String, Map<String, String>, Map<String, String>) - 类中的方法 cn.tbox.sdk.core.http.HttpClient
-
Makes a GET request to the specified URL.
- getAnswersHolder() - 类中的方法 cn.tbox.sdk.model.message.MessageParser
-
Gets the answers holder.
- getAuthorization() - 类中的方法 cn.tbox.sdk.core.http.HttpClientConfig
- getData() - 类中的方法 cn.tbox.sdk.core.http.HttpResponseEvent
- getErrorContext() - 异常错误中的方法 cn.tbox.sdk.core.exception.TboxServerException
- getEvent() - 类中的方法 cn.tbox.sdk.core.http.HttpResponseEvent
- getHost() - 类中的方法 cn.tbox.sdk.core.http.HttpClientConfig
- getId() - 类中的方法 cn.tbox.sdk.core.http.HttpResponseEvent
- getSchema() - 类中的方法 cn.tbox.sdk.core.http.HttpClientConfig
- getStatusCode() - 异常错误中的方法 cn.tbox.sdk.core.exception.TboxHttpResponseException
H
- HttpClient - cn.tbox.sdk.core.http中的类
-
HTTP client for making API requests.
- HttpClient(HttpClientConfig) - 类的构造器 cn.tbox.sdk.core.http.HttpClient
- HttpClientConfig - cn.tbox.sdk.core.http中的类
-
HTTP client configuration.
- HttpClientConfig() - 类的构造器 cn.tbox.sdk.core.http.HttpClientConfig
- HttpClientConfig(String) - 类的构造器 cn.tbox.sdk.core.http.HttpClientConfig
- HttpClientConfig(String, String, String) - 类的构造器 cn.tbox.sdk.core.http.HttpClientConfig
- HttpResponseEvent - cn.tbox.sdk.core.http中的类
-
HTTP response event.
- HttpResponseEvent(String, String) - 类的构造器 cn.tbox.sdk.core.http.HttpResponseEvent
- HttpResponseEvent(String, String, String) - 类的构造器 cn.tbox.sdk.core.http.HttpResponseEvent
M
- main(String[]) - 类中的静态方法 cn.tbox.sdk.example.TboxExample
-
Main method with examples.
- MessageParser - cn.tbox.sdk.model.message中的类
-
Message parser.
- MessageParser() - 类的构造器 cn.tbox.sdk.model.message.MessageParser
N
- needParse(HttpResponseEvent) - 类中的方法 cn.tbox.sdk.model.message.MessageParser
-
Checks if the response event needs to be parsed.
P
- parse(HttpResponseEvent) - 类中的方法 cn.tbox.sdk.model.message.MessageParser
-
Parses a response event.
- post(String, Map<String, Object>, Map<String, String>) - 类中的方法 cn.tbox.sdk.core.http.HttpClient
-
Makes a POST request to the specified path.
- postStream(String, Map<String, Object>, Map<String, String>, int) - 类中的方法 cn.tbox.sdk.core.http.HttpClient
-
Makes a streaming POST request to the specified path.
S
- setAuthorization(String) - 类中的方法 cn.tbox.sdk.core.http.HttpClientConfig
- setData(String) - 类中的方法 cn.tbox.sdk.core.http.HttpResponseEvent
- setErrorContext(Map<String, Object>) - 异常错误中的方法 cn.tbox.sdk.core.exception.TboxServerException
- setEvent(String) - 类中的方法 cn.tbox.sdk.core.http.HttpResponseEvent
- setHost(String) - 类中的方法 cn.tbox.sdk.core.http.HttpClientConfig
- setId(String) - 类中的方法 cn.tbox.sdk.core.http.HttpResponseEvent
- setSchema(String) - 类中的方法 cn.tbox.sdk.core.http.HttpClientConfig
T
- TboxClient - cn.tbox.sdk中的类
-
Tbox client for making API requests.
- TboxClient(HttpClientConfig) - 类的构造器 cn.tbox.sdk.TboxClient
-
Creates a new Tbox client.
- TboxClient(String) - 类的构造器 cn.tbox.sdk.TboxClient
-
Creates a new Tbox client with authorization.
- TboxClientConfigException - cn.tbox.sdk.core.exception中的异常错误
-
Tbox client config exception.
- TboxClientConfigException(String) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxClientConfigException
- TboxClientConfigException(String, Throwable) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxClientConfigException
- TboxClientException - cn.tbox.sdk.core.exception中的异常错误
-
Tbox client exception.
- TboxClientException() - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxClientException
- TboxClientException(String) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxClientException
- TboxClientException(String, Throwable) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxClientException
- TboxClientException(Throwable) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxClientException
- TboxExample - cn.tbox.sdk.example中的类
-
Example demonstrating the use of TboxClient.
- TboxExample() - 类的构造器 cn.tbox.sdk.example.TboxExample
- TboxHttpResponseException - cn.tbox.sdk.core.exception中的异常错误
-
HTTP response exception.
- TboxHttpResponseException(int, String) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxHttpResponseException
- TboxHttpResponseException(String) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxHttpResponseException
- TboxHttpResponseException(String, Throwable) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxHttpResponseException
- TboxServerException - cn.tbox.sdk.core.exception中的异常错误
-
Tbox server exception.
- TboxServerException(String) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxServerException
- TboxServerException(String, Throwable) - 异常错误的构造器 cn.tbox.sdk.core.exception.TboxServerException
All Classes and Interfaces|所有程序包|序列化表格