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, 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)
ServletRequestEE
の getAttributeEE
ServletRequestWrapperEE
の getAttributeEE
public void setAttribute(StringSE name, ObjectSE value)
ServletRequestEE
の setAttributeEE
ServletRequestWrapperEE
の setAttributeEE