Class JSONRPCProperties
java.lang.Object
io.agentscope.spring.boot.a2a.properties.JSONRPCProperties
- All Implemented Interfaces:
io.agentscope.core.a2a.server.transport.CustomTransportProperties
@ConfigurationProperties("agentscope.a2a.server.transports.jsonrpc")
public class JSONRPCProperties
extends Object
implements io.agentscope.core.a2a.server.transport.CustomTransportProperties
Configuration properties for JSON-RPC transport.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetDeploymentProperties(io.agentscope.core.a2a.server.transport.DeploymentProperties deploymentProperties) voidsetEnabled(boolean enabled) io.agentscope.core.a2a.server.transport.TransportPropertiesConverts toTransportProperties.
-
Constructor Details
-
JSONRPCProperties
public JSONRPCProperties()
-
-
Method Details
-
toTransportProperties
public io.agentscope.core.a2a.server.transport.TransportProperties toTransportProperties()Converts toTransportProperties.- Specified by:
toTransportPropertiesin interfaceio.agentscope.core.a2a.server.transport.CustomTransportProperties- Returns:
- the transport properties
-
setDeploymentProperties
public void setDeploymentProperties(io.agentscope.core.a2a.server.transport.DeploymentProperties deploymentProperties) - Specified by:
setDeploymentPropertiesin interfaceio.agentscope.core.a2a.server.transport.CustomTransportProperties
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceio.agentscope.core.a2a.server.transport.CustomTransportProperties
-
setEnabled
public void setEnabled(boolean enabled)
-