Constants
public class Constants
io/agentscope/extensions/nacos/a2a/registry/constants/Constants.java:22–69Constants,支持智能体之间的发现、委派与协作。位于 io.agentscope.extensions.nacos.a2a.registry.constants 包。核心成员包括 PROTOCOL_TYPE_HTTP、PROTOCOL_TYPE_HTTPS、PROPERTIES_ENV_PREFIX。
@author xiweng.yy Declared in io.agentscope.extensions.nacos.a2a.registry.constants.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
TransportPropertiesAttribute | 枚举enum | 定义传输层属性属性相关取值的枚举。 A enum in io.agentscope.extensions.nacos.a2a.registry.constants that defines enum values used when components supports discovery, delegation and collaboration between agents. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
PROTOCOL_TYPE_HTTPstaticfinal | String | 协议类型 HTTP字段。 The PROTOCOL TYPE HTTP field. |
PROTOCOL_TYPE_HTTPSstaticfinal | String | 协议类型 HTTP S字段。 The PROTOCOL TYPE HTTP s field. |
PROPERTIES_ENV_PREFIXstaticfinal | String | 属性 ENV PREFIX字段。 The PROPERTIES ENV PREFIX field. |
字段详情Field Detail
PROTOCOL_TYPE_HTTP
public static final String PROTOCOL_TYPE_HTTP
协议类型 HTTP字段。声明为 public static final String PROTOCOL_TYPE_HTTP。
The PROTOCOL TYPE HTTP field.
io/agentscope/extensions/nacos/a2a/registry/constants/Constants.java:24PROTOCOL_TYPE_HTTPS
public static final String PROTOCOL_TYPE_HTTPS
协议类型 HTTP S字段。声明为 public static final String PROTOCOL_TYPE_HTTPS。
The PROTOCOL TYPE HTTP s field.
io/agentscope/extensions/nacos/a2a/registry/constants/Constants.java:26PROPERTIES_ENV_PREFIX
public static final String PROPERTIES_ENV_PREFIX
属性 ENV PREFIX字段。声明为 public static final String PROPERTIES_ENV_PREFIX。
The PROPERTIES ENV PREFIX field.
io/agentscope/extensions/nacos/a2a/registry/constants/Constants.java:28嵌套类详情Nested Class Detail
TransportPropertiesAttribute
public enum TransportPropertiesAttribute定义传输层属性属性相关取值的枚举。位于 io.agentscope.extensions.nacos.a2a.registry.constants 包。核心成员包括 getPropertyKey、getByEnvKey、getByPropertyKey、HOST、PORT、PATH。
A enum in io.agentscope.extensions.nacos.a2a.registry.constants that defines enum values used when components supports discovery, delegation and collaboration between agents. Declared in io.agentscope.extensions.nacos.a2a.registry.constants.