程序包 cool.scx.core.vo

类 Image

java.lang.Object
cool.scx.core.vo.Image
所有已实现的接口:
BaseVo, cool.scx.functional.ScxHandlerAE<io.vertx.ext.web.RoutingContext,Exception>

public abstract class Image extends Object implements BaseVo

Image class.

版本:
1.0.10
作者:
scx567888
  • 构造器详细资料

    • Image

      protected Image(File _file)
      用来校验 file 是否可用
      参数:
      _file - a File object.
  • 方法详细资料

    • of

      public static Image of(File file)
      a
      参数:
      file - a
      返回:
      a
    • of

      public static Image of(File file, Integer width, Integer height, String type)
      a
      参数:
      file - a
      width - a
      height - a
      type - a
      返回:
      a
    • handle

      public final void handle(io.vertx.ext.web.RoutingContext context) throws BadRequestException

      sendToClient

      指定者:
      handle 在接口中 cool.scx.functional.ScxHandlerAE<io.vertx.ext.web.RoutingContext,Exception>
      抛出:
      BadRequestException
    • imageHandler

      public abstract void imageHandler(io.vertx.ext.web.RoutingContext context)
      a
      参数:
      context - a