|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.config.ForwardConfig
org.apache.struts.action.ActionForward
ActionForwardはActionクラスの処理の結果、
コントローラServlet(ActionServlet)によって実行される、
RequestDispatcher.forward()またはHttpServletResponse.sendRedirect()の遷移先を表わします。
このクラスのインスタンスは必要に応じて動的に生成される場合と、
あるマッピングインスタンスに対して複数存在しうる遷移先の中から名前による検索を行うために、
ActionMappingの中に設定されている場合があります。
ActionServlet, might be directed to
perform a RequestDispatcher.forward() or
HttpServletResponse.sendRedirect() to, as a result of
processing activities of an Action class. Instances of this
class may be created dynamically as necessary, or configured in association
with an ActionMapping instance for named lookup of potentially
multiple destinations for a particular mapping instance.
ActionForwardは少なくとも以下のプロパティを持ちます。
追加プロパティは必要に応じてサブクラスによって提供されます。
An ActionForward has the following minimal set of properties.
Additional properties can be provided as needed by subclassses.
pathの値が
'/'文字で始まっている場合にpath
の値を(モジュール相対の代わりに)
コンテキスト相対で解釈するべきかどうかです。[false]ActionMappingとの関係の中からこのインスタンスを探し出すときに用いる論理名です。HttpServletResponse.sendRedirect()を呼び出すならtrue、
そうでなければfalseです。[false]path
value be interpreted as context-relative (instead of
module-relative, if it starts with a '/' character? [false]ActionMapping.
true if the controller
servlet should call HttpServletResponse.sendRedirect()
on the associated path; otherwise false. [false]Struts1.1からはこのクラスはForwardConfig
を拡張してcontextRelativeプロパティを継承しています。
Since Struts 1.1 this class extends ForwardConfig
and inherits the contextRelative property.
注意 - このクラスが既存のアプリケーションが使用している公開されたAPIの一部であるという事実がなければ、
このクラスの使用は推奨されずに
org.apache.struts.config.ForwardConfig
に置き換えられていたでしょう。
NOTE - This class would have been deprecated and
replaced by org.apache.struts.config.ForwardConfig except
for the fact that it is part of the public API that existing applications
are using.
| フィールドの概要 |
| クラス org.apache.struts.config.ForwardConfig から継承したフィールド |
configured, contextRelative, name, path, redirect |
| コンストラクタの概要 | |
ActionForward()
デフォルトの値を用いて新しいインスタンスを構築します。 |
|
ActionForward(java.lang.String path)
指定されたパスを用いて新しいインスタンスを構築します。 |
|
ActionForward(java.lang.String path,
boolean redirect)
指定されたパスとりダイレクトフラグを用いて新しいインスタンスを構築します。 |
|
ActionForward(java.lang.String name,
java.lang.String path,
boolean redirect)
指定されたパスとりダイレクトフラグを用いて新しいインスタンスを構築します。 |
|
ActionForward(java.lang.String name,
java.lang.String path,
boolean redirect,
boolean contextRelative)
指定された値を用いて新しいインスタンスを構築します。 |
|
| クラス org.apache.struts.config.ForwardConfig から継承したメソッド |
freeze, getContextRelative, getName, getPath, getRedirect, setContextRelative, setName, setPath, setRedirect, toString |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public ActionForward()
public ActionForward(java.lang.String path)
path - このインスタンスに設定するパス
public ActionForward(java.lang.String path,
boolean redirect)
path - このインスタンスに設定するパス
redirect - このインスタンスに設定するリダイレクトフラグ
public ActionForward(java.lang.String name,
java.lang.String path,
boolean redirect)
name - このインスタンスの名前
path - このインスタンスに設定するパス
redirect - このインスタンスに設定するリダイレクトフラグ
public ActionForward(java.lang.String name,
java.lang.String path,
boolean redirect,
boolean contextRelative)
name - このインスタンスの名前
path - このインスタンスに設定するパス
redirect - このインスタンスに設定するリダイレクトフラグ
contextRelative - このインスタンスに設定するコンテキスト相対フラグ
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||