类 LastMethodReturnValueHandler

java.lang.Object
cool.scx.core.mvc.return_value_handler.LastMethodReturnValueHandler
所有已实现的接口:
ScxMappingMethodReturnValueHandler

public final class LastMethodReturnValueHandler extends Object implements ScxMappingMethodReturnValueHandler
a
版本:
1.11.8
作者:
scx567888
  • 字段详细资料

  • 构造器详细资料

    • LastMethodReturnValueHandler

      public LastMethodReturnValueHandler()
  • 方法详细资料

    • canHandle

      public boolean canHandle(Object result)
      a
      指定者:
      canHandle 在接口中 ScxMappingMethodReturnValueHandler
      参数:
      result - a
      返回:
      a
    • handle

      public void handle(Object result, io.vertx.ext.web.RoutingContext context) throws com.fasterxml.jackson.core.JsonProcessingException
      将结果处理并返回
      指定者:
      handle 在接口中 ScxMappingMethodReturnValueHandler
      参数:
      result - a
      context - a
      抛出:
      com.fasterxml.jackson.core.JsonProcessingException