Uses of Class
org.a2aproject.sdk.transport.rest.handler.RestHandler.HTTPRestResponse
Packages that use RestHandler.HTTPRestResponse
Package
Description
REST transport handler implementations for the A2A protocol.
-
Uses of RestHandler.HTTPRestResponse in org.a2aproject.sdk.transport.rest.handler
Subclasses of RestHandler.HTTPRestResponse in org.a2aproject.sdk.transport.rest.handlerModifier and TypeClassDescriptionstatic classRepresents an HTTP streaming response with Server-Sent Events.Methods in org.a2aproject.sdk.transport.rest.handler that return RestHandler.HTTPRestResponseModifier and TypeMethodDescriptionRestHandler.cancelTask(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String body, String taskId) Handles a task cancellation request.RestHandler.createErrorResponse(org.a2aproject.sdk.spec.A2AError error) Creates an HTTP error response from an A2A error.RestHandler.createTaskPushNotificationConfiguration(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String body, String taskId) Creates a push notification configuration for a task.RestHandler.deleteTaskPushNotificationConfiguration(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String taskId, String configId) Deletes a push notification configuration for a task.RestHandler.getAgentCard()Retrieves the public agent card.RestHandler.getExtendedAgentCard(org.a2aproject.sdk.server.ServerCallContext context, String tenant) Retrieves the extended agent card if configured.RestHandler.getTask(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String taskId, @Nullable Integer historyLength) Retrieves a task by ID.RestHandler.getTaskPushNotificationConfiguration(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String taskId, String configId) Retrieves a specific push notification configuration for a task.RestHandler.listTaskPushNotificationConfigurations(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String taskId, int pageSize, String pageToken) Lists push notification configurations for a task.RestHandler.listTasks(org.a2aproject.sdk.server.ServerCallContext context, String tenant, @Nullable String contextId, @Nullable String status, @Nullable Integer pageSize, @Nullable String pageToken, @Nullable Integer historyLength, @Nullable String statusTimestampAfter, @Nullable Boolean includeArtifacts) Lists tasks with optional filtering and pagination.RestHandler.sendMessage(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String body) Handles a blocking message send request.RestHandler.sendStreamingMessage(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String body) Handles a streaming message send request.RestHandler.subscribeToTask(org.a2aproject.sdk.server.ServerCallContext context, String tenant, String taskId) Subscribes to task updates via a streaming connection.