public interface NativeWebRequest extends WebRequest
WebRequest
インターフェースの拡張。ネイティブのリクエストおよびレスポンスオブジェクトを一般的な方法で公開します。主にフレームワーク内部での使用、特に一般的な引数解決コードを対象としています。
REFERENCE_REQUEST, REFERENCE_SESSION, SCOPE_REQUEST, SCOPE_SESSION
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getNativeRequest() 基礎となるネイティブリクエストオブジェクトを返します。 |
<T> T | getNativeRequest(ClassSE<T> requiredType) 可能であれば、基礎となるネイティブリクエストオブジェクトを返します。 |
ObjectSE | getNativeResponse() 基になるネイティブレスポンスオブジェクトがあれば、それを返します。 |
<T> T | getNativeResponse(ClassSE<T> requiredType) 可能であれば、基礎となるネイティブレスポンスオブジェクトを返します。 |
checkNotModified, checkNotModified, checkNotModified, getContextPath, getDescription, getHeader, getHeaderNames, getHeaderValues, getLocale, getParameter, getParameterMap, getParameterNames, getParameterValues, getRemoteUser, getUserPrincipal, isSecure, isUserInRole
getAttribute, getAttributeNames, getSessionId, getSessionMutex, registerDestructionCallback, removeAttribute, resolveReference, setAttribute
ObjectSE getNativeRequest()
HttpServletRequest
EE@Nullable <T> T getNativeRequest(@Nullable ClassSE<T> requiredType)
requiredType
- 目的の型のリクエストオブジェクト null
HttpServletRequest
EE@Nullable <T> T getNativeResponse(@Nullable ClassSE<T> requiredType)
requiredType
- 希望する型のレスポンスオブジェクト null
HttpServletResponse
EE