public final class AccessStopFilter extends Object implements Filter
コンストラクタと説明 |
---|
AccessStopFilter() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
destroy()
フィルターの終了処理メソッドです。
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
フィルター処理本体のメソッドです。
|
void |
init(FilterConfig filterConfig)
フィルターの初期処理メソッドです。
|
static boolean |
isStopFilter()
フィルターの内部状態(強制停止/解除)を取得するメソッドです。
|
static void |
setStopFilter(boolean flag)
フィルターの強制停止/解除を設定するメソッドです。
|
String |
toString()
内部状態を文字列で返します。
|
public AccessStopFilter()
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
doFilter
インタフェース内 Filter
request
- ServletRequestオブジェクトresponse
- ServletResponseオブジェクトchain
- FilterChainオブジェクトIOException
- 入出力エラーが発生した場合、throw されます。ServletException
- サーブレット関係のエラーが発生した場合、throw されます。3.1.3.0 (2003/04/10) UTF-8 決め打ちで、stopFile.html を返送する。 |
3.1.8.0 (2003/05/16) 文字エンコードが、UTF-8 になっていないのを修正。 |
public void init(FilterConfig filterConfig)
public static void setStopFilter(boolean flag)
flag
- (true:停止 false:実行許可)4.0.0.0 (2005/01/31) synchronized の廃止 |
public static boolean isStopFilter()
4.0.0.0 (2007/11/29) getStopFilter() ⇒ isStopFilter() に変更 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.