public class ServletHTTPActionEventHandler extends WebApplicationHTTPActionEventHandler
このハンドラは、指定の Web-Application を実行するための URL を作成して 返します。 ユーザプログラムでは、このハンドラを利用して取得した URL を用いて、 サーバにリクエストすることにより目的のコンテンツのソースを 取得する事ができます。
修飾子 | コンストラクタと説明 |
---|---|
protected |
ServletHTTPActionEventHandler()
Web-Application をイベント実行するためのハンドラを作成します。
|
|
ServletHTTPActionEventHandler(String location)
指定のパスで表される Web-Application をイベント実行するためのハンドラを作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected Properties |
getEventRequestParameterMap()
イベントに対するパラメータのマップを返します。
|
String |
getLocation()
設定されている遷移先パスを返します。
|
String |
getName()
イベント名を返します。
|
protected void |
setLocation(String location)
遷移先のページパスを設定します。
|
getQueryString, getURL, getURL, getURL, getURL, getURL, getURL
getParameter, getParameterKeySet, getParameterMap, hasParameter, removeParameter, setParameter
execute, execute, execute, getCharacterEncoding, setCharacterEncoding, setHostnameVerifier, setSSLContext
protected ServletHTTPActionEventHandler()
setLocation(String)
を利用して 画面パスを設定しなければいけません。public ServletHTTPActionEventHandler(String location)
location
- Web-Application のパスNullPointerException
- 引数が null の場合public String getName()
実際には、Application Runtime で実行される HTTPActionEvent
を 実装したクラスのクラス名を返します。
getName
クラス内 WebApplicationHTTPActionEventHandler
protected void setLocation(String location)
location
- ページパスNullPointerException
- 引数が null の場合public String getLocation()
protected Properties getEventRequestParameterMap() throws HTTPActionEventHandlerParameterException
このメソッドが返す値は、イベントに対するパラメータであって、 getLocation()
によって表される画面プログラムに対する リクエストパラメータではない点に注意してください。
getLocation()
によって表される画面プログラムに対する リクエストパラメータに関しては、HTTPActionEventEntityHandler.getParameterMap()
によって 取得できます。
getEventRequestParameterMap
クラス内 WebApplicationHTTPActionEventHandler
HTTPActionEventHandlerParameterException
- パラメータに異常がある場合Copyright © 2012 NTT DATA INTRAMART CORPORATION