Class LastReturnValueHandler
java.lang.Object
cool.scx.web.return_value_handler.LastReturnValueHandler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LastReturnValueHandler
public LastReturnValueHandler()
-
-
Method Details
-
canHandle
Description copied from interface:ReturnValueHandler是否能够处理- Specified by:
canHandlein interfaceReturnValueHandler- Parameters:
returnValue- result- Returns:
- 是否能够处理
-
handle
public void handle(Object returnValue, cool.scx.http.routing.RoutingContext routingContext) throws com.fasterxml.jackson.core.JsonProcessingException Description copied from interface:ReturnValueHandler处理结果- Specified by:
handlein interfaceReturnValueHandler- Parameters:
returnValue- resultroutingContext- context- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-