|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
サービスのライフサイクルオブジェクト。HTTPリクエストの期間、 サービスのコンテキストとなる。
| フィールドの概要 | |
static java.lang.String |
SCOPE_APPLICATION
アプリケーションレベルスコープ。 |
static java.lang.String |
SCOPE_PAGE
ページレベルスコープ。 |
static java.lang.String |
SCOPE_REQUEST
リクエストレベルスコープ。 |
static java.lang.String |
SCOPE_SESSION
セッションレベルスコープ。 |
| インタフェース org.seasar.mayaa.ParameterAware から継承したフィールド |
IS_SECURE_WEB |
| メソッドの概要 | |
void |
error(int errorCode)
エラーレスポンスを返す。 |
void |
error(int errorCode,
java.lang.String message)
メッセージありのエラーレスポンスを返す。 |
void |
forward(java.lang.String forwardPath)
フォワードを行う。 |
ApplicationScope |
getApplicationScope()
アプリケーションスコープオブジェクトの取得。 |
AttributeScope |
getAttributeScope(java.lang.String scopeName)
指定スコープを取得する。 |
java.lang.Throwable |
getHandledError()
エラーハンドル時に、発生した例外情報を参照する。 |
NodeTreeWalker |
getInjectedNode()
現在処理中のインジェクションされたノード情報の取得。 |
NodeTreeWalker |
getOriginalNode()
現在処理中のテンプレート上ノード情報の取得。 |
AttributeScope |
getPageScope()
「page」スコープオブジェクトの取得。 |
ProcessorTreeWalker |
getProcessor()
現在処理中のプロセッサの取得。 |
RequestScope |
getRequestScope()
リクエストオブジェクトの取得。 |
Response |
getResponse()
レスポンスオブジェクトの取得。 |
SessionScope |
getSessionScope()
セッションの取得。 |
boolean |
hasAttributeScope(java.lang.String scopeName)
指定スコープを保持しているかをテストする。 |
java.util.Iterator |
iterateAttributeScope()
スコープをイテレートする。 |
void |
load(java.lang.String systemID)
カレントのページスコープにてスクリプトを読み込み、実行する。 |
void |
load(java.lang.String systemID,
java.lang.String encoding)
カレントのページスコープにてスクリプトを読み込み、実行する。 |
void |
redirect(java.lang.String url)
リダイレクトを行う。 |
void |
setHandledError(java.lang.Throwable t)
エラーハンドル時に参照する、発生した例外情報の取得。 |
void |
setInjectedNode(NodeTreeWalker node)
現在処理中のインジェクションされたノード情報の設定。 |
void |
setOriginalNode(NodeTreeWalker node)
現在処理中のテンプレート上ノード情報を設定する。 |
void |
setPageScope(AttributeScope page)
「page」スコープオブジェクトの設定。 |
void |
setProcessor(ProcessorTreeWalker processor)
現在処理中のプロセッサの設定。 |
void |
throwJava(java.lang.Throwable t)
例外をthrow。 |
| インタフェース org.seasar.mayaa.ParameterAware から継承したメソッド |
getParameter, iterateParameterNames, setParameter |
| インタフェース org.seasar.mayaa.PositionAware から継承したメソッド |
getLineNumber, getSystemID, isOnTemplate, setLineNumber, setOnTemplate, setSystemID |
| フィールドの詳細 |
public static final java.lang.String SCOPE_APPLICATION
public static final java.lang.String SCOPE_SESSION
public static final java.lang.String SCOPE_REQUEST
public static final java.lang.String SCOPE_PAGE
| メソッドの詳細 |
public void forward(java.lang.String forwardPath)
forwardPath - パス文字列。public void redirect(java.lang.String url)
url - リダイレクトを行うURL文字列。public void error(int errorCode)
errorCode - エラーコード。
public void error(int errorCode,
java.lang.String message)
errorCode - エラーコード。message - エラーメッセージ。public void load(java.lang.String systemID)
systemID - スクリプトソースのSystemID。
public void load(java.lang.String systemID,
java.lang.String encoding)
systemID - スクリプトソースのSystemID。encoding - ソースエンコーディング。
public void throwJava(java.lang.Throwable t)
throws java.lang.Throwable
t - 投げる例外。
java.lang.Throwablepublic ApplicationScope getApplicationScope()
public RequestScope getRequestScope()
public SessionScope getSessionScope()
public Response getResponse()
public void setPageScope(AttributeScope page)
page - 「page」スコープ。public AttributeScope getPageScope()
public boolean hasAttributeScope(java.lang.String scopeName)
scopeName - 指定スコープ名。
public AttributeScope getAttributeScope(java.lang.String scopeName)
scopeName - 指定スコープ名。
public java.util.Iterator iterateAttributeScope()
public void setOriginalNode(NodeTreeWalker node)
node - テンプレートノード。public NodeTreeWalker getOriginalNode()
public void setInjectedNode(NodeTreeWalker node)
node - インジェクトされたノード。public NodeTreeWalker getInjectedNode()
public void setProcessor(ProcessorTreeWalker processor)
processor - 処理中のプロセッサ。public ProcessorTreeWalker getProcessor()
public void setHandledError(java.lang.Throwable t)
t - 発生した例外。public java.lang.Throwable getHandledError()
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||