Class GetTaskPushNotificationConfigRequest
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest<T>
org.a2aproject.sdk.jsonrpc.common.wrappers.NonStreamingJSONRPCRequest<GetTaskPushNotificationConfigParams>
org.a2aproject.sdk.jsonrpc.common.wrappers.GetTaskPushNotificationConfigRequest
- All Implemented Interfaces:
A2AMessage
public final class GetTaskPushNotificationConfigRequest
extends NonStreamingJSONRPCRequest<GetTaskPushNotificationConfigParams>
JSON-RPC request to retrieve push notification configuration for a task.
This request retrieves the currently configured push notification endpoint and settings for a specific task, allowing clients to verify or inspect the notification configuration.
This class implements the JSON-RPC tasks/pushNotificationConfig/get method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for constructing instances. -
Field Summary
Fields inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest
id, jsonrpc, method, paramsFields inherited from interface org.a2aproject.sdk.jsonrpc.common.wrappers.A2AMessage
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionGetTaskPushNotificationConfigRequest(String jsonrpc, Object id, GetTaskPushNotificationConfigParams params) Constructs request with all parameters.Constructs request with ID and parameters. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest
getId, getJsonrpc, getMethod, getParams, validateAndSetJsonParameters
-
Constructor Details
-
GetTaskPushNotificationConfigRequest
public GetTaskPushNotificationConfigRequest(String jsonrpc, Object id, GetTaskPushNotificationConfigParams params) Constructs request with all parameters.- Parameters:
jsonrpc- the JSON-RPC versionid- the request IDparams- the request parameters
-
GetTaskPushNotificationConfigRequest
Constructs request with ID and parameters.- Parameters:
id- the request IDparams- the request parameters
-
-
Method Details
-
builder
Create a new Builder- Returns:
- the builder
-