程序包 cool.scx.mvc.vo

类 Image

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

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
    • accept

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

      sendToClient

      指定者:
      accept 在接口中 ScxConsumer<io.vertx.ext.web.RoutingContext,Exception>
      抛出:
      BadRequestException
    • imageHandler

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