TransportProperties
public record TransportProperties( String transportType, String host, Integer port, String path, boolean supportTls, Map<String, Object> extra)
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92承载传输层属性数据的记录类型。位于 io.agentscope.core.a2a.server.transport 包。核心成员包括 transportType、host、port、path、supportTls、extra。
Properties for transports.
Usage for auto-generate io.a2a.spec.AgentCard and do register to A2A Registries.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
transportType | String | 执行传输层类型相关操作。 Performs the transport type operation. |
host | String | 执行 `host` 方法。 Performs the host operation. |
port | Integer | 执行 `port` 方法。 Performs the port operation. |
path | String | 执行路径相关操作。 Performs the path operation. |
supportTls | boolean | 执行 `supportTls` 方法。 Performs the support tls operation. |
extra | Map<String, Object> | 执行 `extra` 方法。 Performs the extra operation. |
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.core.a2a.server.transport that supports discovery, delegation and collaboration between agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static Builder builder(String transportType)static | 返回构建器实例。 Performs the builder operation. |
记录组件详情Record Component Detail
transportType
String transportType执行传输层类型相关操作。
Performs the transport type operation.
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92host
String host执行 host 方法。
Performs the host operation.
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92port
Integer port执行 port 方法。
Performs the port operation.
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92path
String path执行路径相关操作。
Performs the path operation.
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92supportTls
boolean supportTls执行 supportTls 方法。
Performs the support tls operation.
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92extra
Map<String, Object> extra执行 extra 方法。
Performs the extra operation.
io/agentscope/core/a2a/server/transport/TransportProperties.java:27–92方法详情Method Detail
builder
public static Builder builder(String transportType)
返回构建器实例。
Performs the builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
transportType | String | 传输层类型(类型 `String`)。The transport type. |
Builderio/agentscope/core/a2a/server/transport/TransportProperties.java:35–37嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.server.transport 包。核心成员包括 host、port、path、supportTls、extra、build。
A class in io.agentscope.core.a2a.server.transport that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.server.transport.