public class ContextExposingHttpServletRequest extends HttpServletRequestWrapperEE
BASIC_AUTHEE, CLIENT_CERT_AUTHEE, DIGEST_AUTHEE, FORM_AUTHEE
コンストラクターと説明 |
---|
ContextExposingHttpServletRequest(HttpServletRequestEE originalRequest, WebApplicationContext context) 指定されたリクエストに対して新しい ContextExposingHttpServletRequest を作成します。 |
ContextExposingHttpServletRequest(HttpServletRequestEE originalRequest, WebApplicationContext context, SetSE<StringSE> exposedContextBeanNames) 指定されたリクエストに対して新しい ContextExposingHttpServletRequest を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getAttribute(StringSE name) このメソッドのデフォルトの動作は、ラップされたリクエストオブジェクトで getAttribute(String name) を呼び出すことです。 |
WebApplicationContext | getWebApplicationContext() このリクエストが実行される WebApplicationContext を返します。 |
void | setAttribute(StringSE name, ObjectSE value) このメソッドのデフォルトの動作は、ラップされたリクエストオブジェクトに対して setAttribute(String name, Object o) を返すことです。 |
authenticateEE, changeSessionIdEE, getAuthTypeEE, getContextPathEE, getCookiesEE, getDateHeaderEE, getHeaderEE, getHeaderNamesEE, getHeadersEE, getHttpServletMappingEE, getIntHeaderEE, getMethodEE, getPartEE, getPartsEE, getPathInfoEE, getPathTranslatedEE, getQueryStringEE, getRemoteUserEE, getRequestedSessionIdEE, getRequestURIEE, getRequestURLEE, getServletPathEE, getSessionEE, getSessionEE, getTrailerFieldsEE, getUserPrincipalEE, isRequestedSessionIdFromCookieEE, isRequestedSessionIdFromUrlEE, isRequestedSessionIdFromURLEE, isRequestedSessionIdValidEE, isTrailerFieldsReadyEE, isUserInRoleEE, loginEE, logoutEE, newPushBuilderEE, upgradeEE
getAsyncContextEE, getAttributeNamesEE, getCharacterEncodingEE, getContentLengthEE, getContentLengthLongEE, getContentTypeEE, getDispatcherTypeEE, getInputStreamEE, getLocalAddrEE, getLocaleEE, getLocalesEE, getLocalNameEE, getLocalPortEE, getParameterEE, getParameterMapEE, getParameterNamesEE, getParameterValuesEE, getProtocolEE, getReaderEE, getRealPathEE, getRemoteAddrEE, getRemoteHostEE, getRemotePortEE, getRequestEE, getRequestDispatcherEE, getSchemeEE, getServerNameEE, getServerPortEE, getServletContextEE, isAsyncStartedEE, isAsyncSupportedEE, isSecureEE, isWrapperForEE, isWrapperForEE, removeAttributeEE, setCharacterEncodingEE, setRequestEE, startAsyncEE, startAsyncEE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
getAsyncContextEE, getAttributeNamesEE, getCharacterEncodingEE, getContentLengthEE, getContentLengthLongEE, getContentTypeEE, getDispatcherTypeEE, getInputStreamEE, getLocalAddrEE, getLocaleEE, getLocalesEE, getLocalNameEE, getLocalPortEE, getParameterEE, getParameterMapEE, getParameterNamesEE, getParameterValuesEE, getProtocolEE, getReaderEE, getRealPathEE, getRemoteAddrEE, getRemoteHostEE, getRemotePortEE, getRequestDispatcherEE, getSchemeEE, getServerNameEE, getServerPortEE, getServletContextEE, isAsyncStartedEE, isAsyncSupportedEE, isSecureEE, removeAttributeEE, setCharacterEncodingEE, startAsyncEE, startAsyncEE
public ContextExposingHttpServletRequest(HttpServletRequestEE originalRequest, WebApplicationContext context)
originalRequest
- オリジナルの HttpServletRequestcontext
- このリクエストが実行される WebApplicationContextpublic ContextExposingHttpServletRequest(HttpServletRequestEE originalRequest, WebApplicationContext context, @Nullable SetSE<StringSE> exposedContextBeanNames)
originalRequest
- オリジナルの HttpServletRequestcontext
- このリクエストが実行される WebApplicationContextexposedContextBeanNames
- 公開されるはずのコンテキスト内の Bean の名前 (これが null 以外の場合、このセットの Bean のみが属性として公開の対象になります)public final WebApplicationContext getWebApplicationContext()
@Nullable public ObjectSE getAttribute(StringSE name)
javax.servlet.ServletRequestWrapperEE
ServletRequestEE
の getAttributeEE
ServletRequestWrapperEE
の getAttributeEE
name
- 属性の名前を指定する String
Object
、または属性が存在しない場合は null
public void setAttribute(StringSE name, ObjectSE value)
javax.servlet.ServletRequestWrapperEE
ServletRequestEE
の setAttributeEE
ServletRequestWrapperEE
の setAttributeEE
name
- 属性の名前を指定する String
value
- 格納される Object