org.unitedfront2.web.flow
クラス UriFlowExecutorArgumentHandler
java.lang.Object
org.springframework.webflow.executor.support.FlowExecutorArgumentHandler
org.springframework.webflow.executor.support.RequestParameterFlowExecutorArgumentHandler
org.springframework.webflow.executor.support.RequestPathFlowExecutorArgumentHandler
org.unitedfront2.web.flow.UriFlowExecutorArgumentHandler
- すべての実装されたインタフェース:
- FlowExecutorArgumentExposer, FlowExecutorArgumentExtractor
public class UriFlowExecutorArgumentHandler
- extends RequestPathFlowExecutorArgumentHandler
URIからフローIDを生成する RequestPathFlowExecutorArgumentHandler です。
- 作成者:
- kurokkie
| クラス org.springframework.webflow.executor.support.FlowExecutorArgumentHandler から継承されたメソッド |
applyDefaultFlowId, encodeValue, exposeFlowExecutionContext, getDefaultFlowId, getEventIdArgumentName, getFlowExecutionContextAttributeName, getFlowExecutionKeyArgumentName, getFlowExecutionKeyAttributeName, getFlowIdArgumentName, getUrlEncodingScheme, isRedirectContextRelative, makeRedirectUrlContextRelativeIfNecessary, setDefaultFlowId, setEventIdArgumentName, setFlowExecutionContextAttributeName, setFlowExecutionKeyArgumentName, setFlowExecutionKeyAttributeName, setFlowIdArgumentName, setRedirectContextRelative, setUrlEncodingScheme |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_FLOW_ID_SUFFIX
public static final String DEFAULT_FLOW_ID_SUFFIX
- デフォルトのフローIDの接尾辞
- 関連項目:
- 定数フィールド値
DEFAULT_INDEX_FLOW_ID
public static final String DEFAULT_INDEX_FLOW_ID
- デフォルトのインデックスフローID
- 関連項目:
- 定数フィールド値
logger
protected final Log logger
- ログ出力変数
UriFlowExecutorArgumentHandler
public UriFlowExecutorArgumentHandler()
extractFlowId
public String extractFlowId(ExternalContext context)
throws IllegalArgumentException
- URIからフローIDを作成します。
例を次に記します。
URI: /${context path}/dir1/dir2/page.html
フローIDの接尾辞: -flow
フローID: dir1/dir2/page-flow
- 定義:
- インタフェース
FlowExecutorArgumentExtractor 内の extractFlowId - オーバーライド:
- クラス
RequestPathFlowExecutorArgumentHandler 内の extractFlowId
- パラメータ:
context - ServletExternalContext
- 戻り値:
- フローID
- 例外:
IllegalArgumentException - context が
ServletExternalContext でない
Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.