public static final class RedirectSystem.Response extends Object
RedirectSystem.Request.| Constructor and Description |
|---|
Response(boolean allowed,
String reason,
Map<String,String> params) |
| Modifier and Type | Method and Description |
|---|---|
static RedirectSystem.Response |
allow() |
static RedirectSystem.Response |
allow(Map<String,String> params) |
static RedirectSystem.Response |
deny() |
static RedirectSystem.Response |
deny(Map<String,String> params) |
static RedirectSystem.Response |
deny(String reason) |
static RedirectSystem.Response |
deny(String reason,
Map<String,String> params) |
Map<String,String> |
getParams() |
String |
getReason() |
boolean |
isAllowed() |
public static RedirectSystem.Response allow()
public static RedirectSystem.Response allow(@Nonnull Map<String,String> params)
public static RedirectSystem.Response deny()
public static RedirectSystem.Response deny(@Nonnull String reason)
public static RedirectSystem.Response deny(@Nonnull Map<String,String> params)
public static RedirectSystem.Response deny(@Nonnull String reason, @Nonnull Map<String,String> params)
public boolean isAllowed()
Copyright © 2022. All rights reserved.