public static class EEFilter.CdiRequest extends EEFilter.NoCdiRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
CdiRequest(HttpServletRequest cast,
WebBeansContext webBeansContext,
EEFilter filter) |
Modifier and Type | Method and Description |
---|---|
AsyncContext |
startAsync()
The default behavior of this method is to invoke
ServletRequest.startAsync() on the wrapped request object. |
AsyncContext |
startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
The default behavior of this method is to invoke
ServletRequest.startAsync(ServletRequest, ServletResponse)
on the wrapped request object. |
logout
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, newPushBuilder, upgrade
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public CdiRequest(HttpServletRequest cast, WebBeansContext webBeansContext, EEFilter filter)
public AsyncContext startAsync() throws java.lang.IllegalStateException
ServletRequestWrapper
ServletRequest.startAsync()
on the wrapped request object.startAsync
in interface ServletRequest
startAsync
in class ServletRequestWrapper
java.lang.IllegalStateException
- if the request is within the scope of
a filter or servlet that does not support asynchronous operations
(that is, ServletRequestWrapper.isAsyncSupported()
returns false),
or if this method is called again without any asynchronous dispatch
(resulting from one of the AsyncContext.dispatch()
methods),
is called outside the scope of any such dispatch, or is called again
within the scope of the same dispatch, or if the response has
already been closedServletRequest.startAsync()
public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws java.lang.IllegalStateException
ServletRequestWrapper
ServletRequest.startAsync(ServletRequest, ServletResponse)
on the wrapped request object.startAsync
in interface ServletRequest
startAsync
in class ServletRequestWrapper
servletRequest
- the ServletRequest used to initialize the
AsyncContextservletResponse
- the ServletResponse used to initialize the
AsyncContextjava.lang.IllegalStateException
- if the request is within the scope of
a filter or servlet that does not support asynchronous operations
(that is, ServletRequestWrapper.isAsyncSupported()
returns false),
or if this method is called again without any asynchronous dispatch
(resulting from one of the AsyncContext.dispatch()
methods),
is called outside the scope of any such dispatch, or is called again
within the scope of the same dispatch, or if the response has
already been closedServletRequest.startAsync(ServletRequest, ServletResponse)