类 LastReturnValueHandler

java.lang.Object
cool.scx.mvc.return_value_handler.LastReturnValueHandler
所有已实现的接口:
ScxMvcReturnValueHandler

public final class LastReturnValueHandler extends Object implements ScxMvcReturnValueHandler
a
版本:
1.11.8
作者:
scx567888
  • 构造器详细资料

    • LastReturnValueHandler

      public LastReturnValueHandler()
  • 方法详细资料

    • canHandle

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

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