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) |
WebApplicationContext | getWebApplicationContext() このリクエストが実行される WebApplicationContext を返します。 |
void | setAttribute(StringSE name, ObjectSE value) |
authenticateEE, changeSessionIdEE, getAuthTypeEE, getContextPathEE, getCookiesEE, getDateHeaderEE, getHeaderEE, getHeaderNamesEE, getHeadersEE, getIntHeaderEE, getMethodEE, getPartEE, getPartsEE, getPathInfoEE, getPathTranslatedEE, getQueryStringEE, getRemoteUserEE, getRequestedSessionIdEE, getRequestURIEE, getRequestURLEE, getServletPathEE, getSessionEE, getSessionEE, getUserPrincipalEE, isRequestedSessionIdFromCookieEE, isRequestedSessionIdFromUrlEE, isRequestedSessionIdFromURLEE, isRequestedSessionIdValidEE, isUserInRoleEE, loginEE, logoutEE, upgradeEEgetAsyncContextEE, 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, startAsyncEEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEgetAsyncContextEE, 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, startAsyncEEpublic 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)
ServletRequestEE 内の getAttributeEE ServletRequestWrapperEE の getAttributeEE public void setAttribute(StringSE name, ObjectSE value)
ServletRequestEE 内の setAttributeEE ServletRequestWrapperEE の setAttributeEE