|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.codecluster.struts12.C2DispatchAction
public class C2DispatchAction
Struts 1.2 の DispatchAction を拡張した Action クラスです。
アノテーションで実行メソッドを指定することができるように拡張したクラスです。
フィールドの概要 |
---|
クラス org.apache.struts.actions.DispatchAction から継承されたフィールド |
---|
clazz, log, messages, methods, types |
クラス org.apache.struts.action.Action から継承されたフィールド |
---|
defaultLocale, servlet |
コンストラクタの概要 | |
---|---|
C2DispatchAction()
|
メソッドの概要 | |
---|---|
org.apache.struts.action.ActionForward |
defaultAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
実行すべき Action が見つからない場合のデフォルト処理です。 |
protected org.apache.struts.action.ActionForward |
dispatchMethod(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
|
protected java.lang.String |
getMethodName(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String parameter)
Action アノテーションをチェックして実行すべきメソッド名を返します。 |
protected java.lang.String |
getParameter(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static javax.servlet.http.HttpServletRequest |
getRequest()
本スレッドで実行中の HttpServletRequest を取得する |
static javax.servlet.http.HttpServletResponse |
getResponse()
本スレッドで実行中の HttpServletResponse を取得する |
protected org.apache.struts.action.ActionForward |
postDispatch(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
Action 処理の呼び出し後に実行される処理を記述します。 |
protected org.apache.struts.action.ActionForward |
preDispatch(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
Action 処理の呼び出し前に実行される処理を記述します。 |
クラス org.apache.struts.actions.DispatchAction から継承されたメソッド |
---|
cancelled, execute, getMethod, unspecified |
クラス org.apache.struts.action.Action から継承されたメソッド |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public C2DispatchAction()
メソッドの詳細 |
---|
public static javax.servlet.http.HttpServletRequest getRequest()
public static javax.servlet.http.HttpServletResponse getResponse()
protected org.apache.struts.action.ActionForward dispatchMethod(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name) throws java.lang.Exception
org.apache.struts.actions.DispatchAction
内の dispatchMethod
java.lang.Exception
protected java.lang.String getMethodName(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String parameter) throws java.lang.Exception
org.apache.struts.actions.DispatchAction
内の getMethodName
java.lang.Exception
DispatchAction.getMethodName(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
protected java.lang.String getParameter(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
org.apache.struts.actions.DispatchAction
内の getParameter
java.lang.Exception
protected org.apache.struts.action.ActionForward preDispatch(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name) throws java.lang.Exception
java.lang.Exception
DispatchAction.dispatchMethod(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
protected org.apache.struts.action.ActionForward postDispatch(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name) throws java.lang.Exception
java.lang.Exception
DispatchAction.dispatchMethod(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
public org.apache.struts.action.ActionForward defaultAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |