クラス DefaultAjaxHandler
java.lang.ObjectSE
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.webflow.context.servlet.AbstractAjaxHandler
org.springframework.webflow.context.servlet.DefaultAjaxHandler
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware、org.springframework.context.ApplicationContextAware、org.springframework.web.context.ServletContextAware、AjaxHandler
デフォルトの
AjaxHandler 実装。 値が AJAX_ACCEPT_CONTENT_TYPE である "Accept" ヘッダーまたは名前が AJAX_SOURCE_PARAM であるリクエストパラメーターを通じて Ajax リクエストを検出します。
また、Ajax リクエスト中のリダイレクトの場合、レスポンスヘッダー REDIRECT_URL_HEADER および POPUP_VIEW_HEADER が設定されます。後者は、リダイレクトが popup="true" のビューステートで発生した場合に設定されます。
- 導入:
- 2.5
- 作成者:
- Rossen Stoyanchev
フィールド概要
フィールド修飾子と型フィールド説明static final StringSEAjax リクエストを示す "Accept" ヘッダー値。static final StringSEAjax リクエストを示すリクエストパラメーターの代替。static final StringSEポップアップウィンドウから発行されるリダイレクトに設定するレスポンスヘッダー。static final StringSEAjax リダイレクトにリダイレクト場所を設定するレスポンスヘッダークラス org.springframework.context.support.ApplicationObjectSupport から継承されたフィールド
loggerコンストラクター概要
コンストラクターコンストラクター説明AjaxHandler の チェーンの一部ではない DefaultAjaxHandler を作成します。DefaultAjaxHandler(AbstractAjaxHandler delegate) AjaxHandler の チェーンの一部として DefaultAjaxHandler を作成します。方法の概要
修飾子と型メソッド説明protected booleanisAjaxRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voidsendAjaxRedirectInternal(StringSE targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) クラス org.springframework.webflow.context.servlet.AbstractAjaxHandler から継承されたメソッド
isAjaxRequest, sendAjaxRedirectクラス org.springframework.web.context.support.WebApplicationObjectSupport から継承されたメソッド
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextクラス org.springframework.context.support.ApplicationObjectSupport から継承されたメソッド
getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
フィールドの詳細
コンストラクターの詳細
DefaultAjaxHandler
public DefaultAjaxHandler()AjaxHandler の チェーンの一部ではない DefaultAjaxHandler を作成します。DefaultAjaxHandler
AjaxHandler の チェーンの一部として DefaultAjaxHandler を作成します。
メソッドの詳細
isAjaxRequestInternal
protected boolean isAjaxRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) - 次で指定:
- クラス
AbstractAjaxHandlerのisAjaxRequestInternal
sendAjaxRedirectInternal
protected void sendAjaxRedirectInternal(StringSE targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) - 次で指定:
- クラス
AbstractAjaxHandlerのsendAjaxRedirectInternal