| 接口 | 说明 |
|---|---|
| ReturnValueHandler |
Strategy interface for handling method return values and converting
them to protocol responses.
|
| 类 | 说明 |
|---|---|
| DirectResponseHandler |
Handles direct protocol response types that need no conversion.
|
| MonoHandler |
Handles
Mono return types for async handlers. |
| ReturnValueHandlerComposite |
Composite that chains multiple return value handlers.
|
| StringToPromptResponseHandler |
Converts String return values to
AcpSchema.PromptResponse using
AcpSchema.PromptResponse.text(String). |
| VoidHandler |
Handles void return types for prompt handlers by returning
AcpSchema.PromptResponse.endTurn(). |
| 异常错误 | 说明 |
|---|---|
| ReturnValueHandlingException |
Exception thrown when return value handling fails.
|