public class WxAispeechServiceImpl extends Object implements WxAispeechService
| 构造器和说明 |
|---|
WxAispeechServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
executeDialogPost(String path,
Object requestBody,
boolean withOpenToken,
String appid) |
protected String |
executeKnowledgeDelete(String path) |
protected String |
executeKnowledgeGet(String path,
Map<String,String> queryParams) |
protected String |
executeKnowledgeMultipartPost(String path,
File file,
String title,
String description,
String metadata) |
protected String |
executeKnowledgePost(String path,
Object requestBody) |
protected String |
executeKnowledgePut(String path,
Object requestBody) |
protected <T> T |
fromJson(String json,
Class<T> clazz) |
WxAispeechConfigStorage |
getConfigStorage() |
WxAispeechDialogService |
getDialogService() |
WxAispeechKnowledgeService |
getKnowledgeService() |
protected void |
initHttp() |
void |
setConfigStorage(WxAispeechConfigStorage configStorage) |
public WxAispeechDialogService getDialogService()
getDialogService 在接口中 WxAispeechServicepublic WxAispeechKnowledgeService getKnowledgeService()
getKnowledgeService 在接口中 WxAispeechServicepublic WxAispeechConfigStorage getConfigStorage()
getConfigStorage 在接口中 WxAispeechServicepublic void setConfigStorage(WxAispeechConfigStorage configStorage)
setConfigStorage 在接口中 WxAispeechServiceprotected void initHttp()
protected String executeDialogPost(String path, Object requestBody, boolean withOpenToken, String appid) throws WxErrorException
WxErrorExceptionprotected String executeKnowledgeGet(String path, Map<String,String> queryParams) throws WxErrorException
WxErrorExceptionprotected String executeKnowledgePost(String path, Object requestBody) throws WxErrorException
WxErrorExceptionprotected String executeKnowledgePut(String path, Object requestBody) throws WxErrorException
WxErrorExceptionprotected String executeKnowledgeMultipartPost(String path, File file, String title, String description, String metadata) throws WxErrorException
WxErrorExceptionprotected String executeKnowledgeDelete(String path) throws WxErrorException
WxErrorExceptionCopyright © 2026. All rights reserved.