|
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.opengion.hayabusa.filter.GZIPFilter
public class GZIPFilter
GZIPFilter は、Filter インターフェースを継承した ZIP圧縮クラスです。
web.xml で filter 設定することにより、Webアプリケーションへのアクセスを制御できます。
【WEB-INF/web.xml】
<filter>
<filter-name>GZIPFilter</filter-name>
<filter-class>org.opengion.hayabusa.filter.GZIPFilter</filter-class>
<init-param>
<param-name>ipAddress</param-name>
<param-value>200.1</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>
<url-pattern>/jsp/*</url-pattern>
</filter-mapping>
| コンストラクタの概要 | |
|---|---|
GZIPFilter()
|
|
| メソッドの概要 | |
|---|---|
void |
destroy()
Filter インターフェースの destroy メソッド (何もしません)。 |
void |
doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
Filter インターフェースの doFilter メソッド Filter クラスの doFilter メソッドはコンテナにより呼び出され、 最後のチェーンにおける リソースへのクライアントリクエストのために、 毎回リクエスト・レスポンスのペアが、 チェーンを通して渡されます。 |
void |
init(FilterConfig filterConfig)
Filter インターフェースの init メソッド (何もしません)。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public GZIPFilter()
| メソッドの詳細 |
|---|
public void doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException,
ServletException
Filter 内の doFilterreq - ServletRequestres - ServletResponsechain - FilterChain
IOException
ServletExceptionpublic void init(FilterConfig filterConfig)
Filter 内の initfilterConfig - FilterConfigpublic void destroy()
Filter 内の destroy
|
openGion 5.1.3.0 | ||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||