public class AuthorizingHandleBeforeEvent extends org.springframework.context.ApplicationEvent implements AuthorizationEvent
{@codesource| 构造器和说明 |
|---|
AuthorizingHandleBeforeEvent(AuthorizingContext context,
HandleType handleType) |
| 限定符和类型 | 方法和说明 |
|---|---|
AuthorizingContext |
getContext() |
HandleType |
getHandleType() |
String |
getMessage() |
boolean |
isAllow() |
boolean |
isExecute() |
void |
setAllow(boolean allow)
设置通过当前请求
|
void |
setMessage(String message)
设置错误提示消息
|
getSource, toStringpublic AuthorizingHandleBeforeEvent(AuthorizingContext context, HandleType handleType)
public AuthorizingContext getContext()
public boolean isExecute()
public boolean isAllow()
public void setAllow(boolean allow)
allow - allowpublic String getMessage()
public void setMessage(String message)
message - 消息public HandleType getHandleType()
Copyright © 2016–2023. All rights reserved.