クラス AbstractAjaxHandler
java.lang.ObjectSE
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.webflow.context.servlet.AbstractAjaxHandler
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware、org.springframework.context.ApplicationContextAware、org.springframework.web.context.ServletContextAware、AjaxHandler
- 既知の直属サブクラス
DefaultAjaxHandler,JsfAjaxHandler
public abstract class AbstractAjaxHandler
extends org.springframework.web.context.support.WebApplicationObjectSupport
implements AjaxHandler
フィールド概要
クラス org.springframework.context.support.ApplicationObjectSupport から継承されたフィールド
loggerコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明final booleanisAjaxRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) 現在のリクエストは Ajax リクエストですか ?protected abstract booleanisAjaxRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) final voidsendAjaxRedirect(StringSE targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) Ajax クライアントにリダイレクトリクエストを送信します。protected abstract voidsendAjaxRedirectInternal(StringSE targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) クラス org.springframework.web.context.support.WebApplicationObjectSupport から継承されたメソッド
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextクラス org.springframework.context.support.ApplicationObjectSupport から継承されたメソッド
getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
コンストラクターの詳細
AbstractAjaxHandler
メソッドの詳細
isAjaxRequest
public final boolean isAjaxRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) インターフェースからコピーされた説明:AjaxHandler現在のリクエストは Ajax リクエストですか ?- 次で指定:
- インターフェース
AjaxHandlerのisAjaxRequest - パラメーター:
request- 現在のリクエストresponse- 現在のレスポンス
sendAjaxRedirect
public final void sendAjaxRedirect(StringSE targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) throws IOExceptionSE インターフェースからコピーされた説明:AjaxHandlerAjax クライアントにリダイレクトリクエストを送信します。これにより、クライアント側エージェントは指定されたターゲット URL に新しいリクエストを送信するようになります。- 次で指定:
- インターフェース
AjaxHandlerのsendAjaxRedirect - パラメーター:
targetUrl- リダイレクト先のターゲット URLrequest- 現在のリクエストresponse- 現在のレスポンスpopup- リダイレクトを新しいポップアップダイアログウィンドウから送信するかどうか- 例外:
IOExceptionSE
isAjaxRequestInternal
protected abstract boolean isAjaxRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) sendAjaxRedirectInternal
protected abstract void sendAjaxRedirectInternal(StringSE targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) throws IOExceptionSE