Class NullReturnValueHandler

java.lang.Object
cool.scx.web.return_value_handler.NullReturnValueHandler
All Implemented Interfaces:
ReturnValueHandler

public final class NullReturnValueHandler extends Object implements ReturnValueHandler
空值处理器
Version:
1.11.8
Author:
scx567888
  • Constructor Details

    • NullReturnValueHandler

      public NullReturnValueHandler()
  • Method Details

    • canHandle

      public boolean canHandle(Object returnValue)
      Description copied from interface: ReturnValueHandler
      是否能够处理
      Specified by:
      canHandle in interface ReturnValueHandler
      Parameters:
      returnValue - result
      Returns:
      是否能够处理
    • handle

      public void handle(Object returnValue, io.vertx.ext.web.RoutingContext routingContext)
      Description copied from interface: ReturnValueHandler
      处理结果
      Specified by:
      handle in interface ReturnValueHandler
      Parameters:
      returnValue - result
      routingContext - context