public class AgentMCPServerInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
AgentMCPServerInfo() |
AgentMCPServerInfo(AgentMCPServerInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
AgentPluginHeader[] |
getHeaders()
Get mcp server header信息
|
String |
getMcpServerUrl()
Get mcp server URL地址
|
Long |
getSseReadTimeout()
Get sse服务超时时间,单位秒
|
Long |
getTimeout()
Get 超时时间,单位秒
|
void |
setHeaders(AgentPluginHeader[] Headers)
Set mcp server header信息
|
void |
setMcpServerUrl(String McpServerUrl)
Set mcp server URL地址
|
void |
setSseReadTimeout(Long SseReadTimeout)
Set sse服务超时时间,单位秒
|
void |
setTimeout(Long Timeout)
Set 超时时间,单位秒
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AgentMCPServerInfo()
public AgentMCPServerInfo(AgentMCPServerInfo source)
public String getMcpServerUrl()
public void setMcpServerUrl(String McpServerUrl)
McpServerUrl
- mcp server URL地址public AgentPluginHeader[] getHeaders()
public void setHeaders(AgentPluginHeader[] Headers)
Headers
- mcp server header信息public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- 超时时间,单位秒public Long getSseReadTimeout()
public void setSseReadTimeout(Long SseReadTimeout)
SseReadTimeout
- sse服务超时时间,单位秒Copyright © 2025. All rights reserved.