|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.wicket.protocol.http.WicketFilter
org.apache.wicket.protocol.http.ReloadingWicketFilter
org.seasar.wicket.S2WicketFilter
public class S2WicketFilter
S2Containerに対応させたWicketFilter。
web.xmlにはこのフィルタを登録すれば、WicketおよびS2Container双方とも使用できるようになります。 WicketFilterおよびS2ContainerFilterは登録しないでください。
Wicketのdevelopmentモードの時にのみ以下の機能が有効になります。
<filter>
<filter-name>s2wicketfilter</filter-name>
<filter-class>org.seasar.wicket.S2WicketFilter</filter-class>
<init-param>
<!-- Wicketのアプリケーションクラス -->
<param-name>applicationClassName</param-name>
<param-value>org.seasar.wicket.example.ExampleApplication</param-value>
</init-param>
<init-param>
<!-- Wicketの配備モード(デフォルトはdevelopmentモード) -->
<!-- developmentモード時のみクラスの自動リロードが行われる -->
<param-name>configuration</param-name>
<param-value>deployment</param-value>
</init-param>
<init-param>
<!-- S2Containerのデバッグ出力を行うパスを指定 -->
<param-name>debug</param-name>
<param-value>/debug</param-value>
</init-param>
<init-param>
<!-- リロードを行う対象となるクラス(developmentモード時のみ有効) -->
<param-name>reloadingClassPattern</param-name>
<param-value>org.seasar.wicket.example.*</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>s2wicketfilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
| フィールドの概要 | |
|---|---|
protected org.slf4j.Logger |
logger
|
| クラス org.apache.wicket.protocol.http.WicketFilter から継承されたフィールド |
|---|
APP_FACT_PARAM, FILTER_MAPPING_PARAM, IGNORE_PATHS_PARAM |
| コンストラクタの概要 | |
|---|---|
S2WicketFilter()
|
|
| メソッドの概要 | |
|---|---|
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
protected ClassLoader |
getClassLoader()
|
void |
init(boolean isServlet,
javax.servlet.FilterConfig filterConfig)
|
| クラス org.apache.wicket.protocol.http.WicketFilter から継承されたメソッド |
|---|
checkIfRedirectRequired, getApplication, getApplicationFactory, getFilterConfig, getFilterPath, getFilterPath, getFilterPathFromAnnotation, getFilterPathFromConfig, getFilterPathFromWebXml, getRelativePath, init, processRequestCycle, setFilterPath |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final org.slf4j.Logger logger
| コンストラクタの詳細 |
|---|
public S2WicketFilter()
| メソッドの詳細 |
|---|
public void init(boolean isServlet,
javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
org.apache.wicket.protocol.http.ReloadingWicketFilter 内の initjavax.servlet.ServletExceptionpublic void destroy()
javax.servlet.Filter 内の destroyorg.apache.wicket.protocol.http.WicketFilter 内の destroyprotected ClassLoader getClassLoader()
org.apache.wicket.protocol.http.ReloadingWicketFilter 内の getClassLoader
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
javax.servlet.Filter 内の doFilterorg.apache.wicket.protocol.http.WicketFilter 内の doFilterIOException
javax.servlet.ServletException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||