public class VoidHandler extends java.lang.Object implements ReturnValueHandler
AcpSchema.PromptResponse.endTurn().| 构造器和说明 |
|---|
VoidHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
handleReturnValue(java.lang.Object returnValue,
AcpMethodParameter returnType,
AcpInvocationContext context)
Handle the return value and convert to protocol response.
|
boolean |
supportsReturnType(AcpMethodParameter returnType)
Determine whether this handler supports the given return type.
|
public boolean supportsReturnType(AcpMethodParameter returnType)
ReturnValueHandlersupportsReturnType 在接口中 ReturnValueHandlerreturnType - the return type metadatapublic java.lang.Object handleReturnValue(java.lang.Object returnValue,
AcpMethodParameter returnType,
AcpInvocationContext context)
ReturnValueHandlerhandleReturnValue 在接口中 ReturnValueHandlerreturnValue - the value returned by the handler methodreturnType - the return type metadatacontext - the invocation context