public abstract static class ActionFilter.Simple extends AbstractComponent implements ActionFilter
ActionFilter.SimpledeprecationLogger, logger, settings| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract boolean |
apply(String action,
ActionRequest request,
ActionListener listener)
Applies this filter and returns
true if the execution chain should proceed, or false
if it should be aborted since the filter already handled the request and called the given listener. |
protected abstract boolean |
apply(String action,
ActionResponse response,
ActionListener listener)
Applies this filter and returns
true if the execution chain should proceed, or false
if it should be aborted since the filter already handled the response by calling the given listener. |
void |
apply(String action,
ActionResponse response,
ActionListener listener,
ActionFilterChain chain)
Enables filtering the execution of an action on the response side, either by sending a response through the
ActionListener or by continuing the execution through the given chain |
void |
apply(Task task,
String action,
ActionRequest request,
ActionListener listener,
ActionFilterChain chain)
Enables filtering the execution of an action on the request side, either by sending a response through the
ActionListener or by continuing the execution through the given chain |
logDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderprotected Simple(Settings settings)
public final void apply(Task task, String action, ActionRequest request, ActionListener listener, ActionFilterChain chain)
ActionFilterActionListener or by continuing the execution through the given chainapply インタフェース内 ActionFilterprotected abstract boolean apply(String action, ActionRequest request, ActionListener listener)
true if the execution chain should proceed, or false
if it should be aborted since the filter already handled the request and called the given listener.public final void apply(String action, ActionResponse response, ActionListener listener, ActionFilterChain chain)
ActionFilterActionListener or by continuing the execution through the given chainapply インタフェース内 ActionFilterprotected abstract boolean apply(String action, ActionResponse response, ActionListener listener)
true if the execution chain should proceed, or false
if it should be aborted since the filter already handled the response by calling the given listener.Copyright © 2009–2016. All rights reserved.