public class ServiceFrameworkHTTPActionEventHandler extends WebApplicationHTTPActionEventHandler
このハンドラを利用する事により、指定のサービスフレームワークを実行して、
画面のソースを取得する事ができます。
主にポータルサーバなどと連携してサービスフレームワークによる画面を
1つのポートレットとして表示する場合に利用できます。
なお、 セッションタイムアウト後の 取得した画面ソース内のリンクやフォームによるリクエストは 無効となりますので注意してください。
このクラスは、プレゼンテーションフレームワークに必要な各引数値に関する 共通インターフェースを提供しているだけの抽象実装です。 したがって、このクラスを単独で使用しても正しい結果を得る事はできません。 サブクラスを作成して、適切な実装を追加しなければいけません。
修飾子 | コンストラクタと説明 |
---|---|
protected |
ServiceFrameworkHTTPActionEventHandler()
サービスフレームワークを実行するためのハンドラを作成します。
|
|
ServiceFrameworkHTTPActionEventHandler(String application,
String service)
サービスフレームワークを実行するためのハンドラを作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getApplication()
設定されているアプリケーションIDを返します。
|
protected Properties |
getEventRequestParameterMap()
イベントに対するパラメータのマップを返します。
|
String |
getName()
イベント名を返します。
|
String |
getService()
設定されているサービスIDを返します。
|
protected void |
setApplication(String id)
実行するフレームワークのアプリケーションIDを設定します。
|
protected void |
setService(String id)
実行するフレームワークのサービスIDを設定します。
|
getQueryString, getURL, getURL, getURL, getURL, getURL, getURL
getParameter, getParameterKeySet, getParameterMap, hasParameter, removeParameter, setParameter
execute, execute, execute, getCharacterEncoding, setCharacterEncoding, setHostnameVerifier, setSSLContext
protected ServiceFrameworkHTTPActionEventHandler()
このコンストラクタでは、特に設定を行いません。 イベント実行要求前に、必要な情報の設定を行ってください。
public ServiceFrameworkHTTPActionEventHandler(String application, String service)
このコンストラクタでは、特に設定を行いません。 イベント実行要求前に、必要な情報の設定を行ってください。
application
- アプリケーションIDservice
- サービスIDNullPointerException
- 引数が null の場合public String getName()
実際には、Application Runtime で実行される HTTPActionEvent
を
実装したクラスのクラス名を返します。
getName
クラス内 WebApplicationHTTPActionEventHandler
protected void setApplication(String id)
id
- アプリケーションIDNullPointerException
- 引数が null の場合public String getApplication()
protected void setService(String id)
id
- サービスIDNullPointerException
- 引数が null の場合public String getService()
protected Properties getEventRequestParameterMap() throws HTTPActionEventHandlerParameterException
getEventRequestParameterMap
クラス内 WebApplicationHTTPActionEventHandler
HTTPActionEventHandlerParameterException
- パラメータに異常がある場合Copyright © 2012 NTT DATA INTRAMART CORPORATION