程序包 cool.scx.core.vo

类 Redirections

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

public final class Redirections extends Object implements BaseVo
重定向
版本:
1.11.8
作者:
scx567888
  • 方法详细资料

    • ofPermanent

      public static Redirections ofPermanent(String location)
      永久重定向
      参数:
      location - 重定向地址
      返回:
      r
    • ofTemporary

      public static Redirections ofTemporary(String location)
      临时重定向
      参数:
      location - 重定向地址
      返回:
      r
    • accept

      public void accept(io.vertx.ext.web.RoutingContext routingContext)
      指定者:
      accept 在接口中 cool.scx.functional.ScxConsumer<io.vertx.ext.web.RoutingContext,Exception>