Package mondrian.tui
Class MockHttpServletRequest
- java.lang.Object
-
- mondrian.tui.MockHttpServletRequest
-
- All Implemented Interfaces:
HttpServletRequest
,ServletRequest
public class MockHttpServletRequest extends java.lang.Object implements HttpServletRequest
Partial implementation of theHttpServletRequest
where just enough is present to allow for communication between Mondrian's XMLA code and other code in the same JVM.Currently it is used in both the CmdRunner and in XMLA JUnit tests. If you need to add to this implementation, please do so.
- Author:
- Richard M. Emberson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MockHttpServletRequest.MockRequestDispatcher
(package private) static class
MockHttpServletRequest.MockServletInputStream
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTHORIZATION
static java.lang.String
DATE_FORMAT_HEADER
-
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
-
Constructor Summary
Constructors Constructor Description MockHttpServletRequest()
MockHttpServletRequest(byte[] bytes)
MockHttpServletRequest(java.lang.String bodyContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addCookie(Cookie cookie)
void
addHeader(java.lang.String key, java.lang.String value)
void
addLocale(java.util.Locale locale)
void
addLocales(java.util.List<java.util.Locale> localeList)
boolean
authenticate(HttpServletResponse response)
java.lang.String
changeSessionId()
void
clearAttributes()
void
clearHeader(java.lang.String key)
void
clearParameters()
AsyncContext
getAsyncContext()
java.lang.Object
getAttribute(java.lang.String name)
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.java.util.Enumeration
getAttributeNames()
to this request.java.lang.String
getAuthType()
Returns the name of the authentication scheme used to protect the servlet, for example, "BASIC" or "SSL," or null if the servlet was not protected.java.lang.String
getCharacterEncoding()
Returns the name of the character encoding used in the body of this request.int
getContentLength()
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.long
getContentLengthLong()
java.lang.String
getContentType()
Returns the MIME type of the body of the request, or null if the type is not known.java.lang.String
getContextPath()
Returns the portion of the request URI that indicates the context of the request.Cookie[]
getCookies()
Returns an array containing all of the Cookie objects the client sent with this request.long
getDateHeader(java.lang.String name)
Returns the value of the specified request header as a long value that represents a Date object.DispatcherType
getDispatcherType()
java.lang.String
getHeader(java.lang.String name)
Returns the value of the specified request header as a String.java.util.Enumeration
getHeaderNames()
Returns an enumeration of all the header names this request contains.java.util.Enumeration
getHeaders(java.lang.String name)
Returns all the values of the specified request header as an Enumeration of String objects.ServletInputStream
getInputStream()
Retrieves the body of the request as binary data using a ServletInputStream.int
getIntHeader(java.lang.String name)
Returns the value of the specified request header as an int.java.lang.String
getLocalAddr()
java.util.Locale
getLocale()
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.java.util.Enumeration
getLocales()
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.java.lang.String
getLocalName()
int
getLocalPort()
java.lang.String
getMethod()
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.java.lang.String
getParameter(java.lang.String name)
Returns the value of a request parameter as a String, or null if the parameter does not exist.java.util.Map
getParameterMap()
java.util.Enumeration
getParameterNames()
Returns an Enumeration of String objects containing the names of the parameters contained in this request.java.lang.String[]
getParameterValues(java.lang.String name)
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.Part
getPart(java.lang.String name)
java.util.Collection<Part>
getParts()
java.lang.String
getPathInfo()
Returns any extra path information associated with the URL the client sent when it made this request.java.lang.String
getPathTranslated()
Returns any extra path information after the servlet name but before the query string, and translates it to a real path.java.lang.String
getProtocol()
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.java.lang.String
getQueryString()
Returns the query string that is contained in the request URL after the path.java.io.BufferedReader
getReader()
Retrieves the body of the request as character data using a BufferedReader.java.lang.String
getRealPath(java.lang.String path)
Deprecated.Method getRealPath is deprecatedjava.lang.String
getRemoteAddr()
Returns the Internet Protocol (IP) address of the client that sent the request.java.lang.String
getRemoteHost()
Returns the fully qualified name of the client that sent the request, or the IP address of the client if the name cannot be determined.int
getRemotePort()
java.lang.String
getRemoteUser()
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.RequestDispatcher
getRequestDispatcher(java.lang.String path)
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.java.util.Map<java.lang.String,RequestDispatcher>
getRequestDispatcherMap()
java.lang.String
getRequestedSessionId()
Returns the session ID specified by the client.java.lang.String
getRequestURI()
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.java.lang.StringBuffer
getRequestURL()
java.lang.String
getScheme()
Returns the name of the scheme used to make this request, for example, http, https, or ftp.java.lang.String
getServerName()
Returns the host name of the server that received the request.int
getServerPort()
Returns the port number on which this request was received.ServletContext
getServletContext()
java.lang.String
getServletPath()
Returns the part of this request's URL that calls the servlet.HttpSession
getSession()
Returns the current session associated with this request, or if the request does not have a session, creates one.HttpSession
getSession(boolean create)
Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session.java.security.Principal
getUserPrincipal()
Returns a java.security.Principal object containing the name of the current authenticated user.boolean
isAsyncStarted()
boolean
isAsyncSupported()
boolean
isRequestedSessionIdFromCookie()
Checks whether the requested session ID came in as a cookie.boolean
isRequestedSessionIdFromUrl()
boolean
isRequestedSessionIdFromURL()
Checks whether the requested session ID came in as part of the request URL.boolean
isRequestedSessionIdValid()
Checks whether the requested session ID is still valid.boolean
isSecure()
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.boolean
isUserInRole(java.lang.String role)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".void
login(java.lang.String username, java.lang.String password)
void
logout()
void
removeAttribute(java.lang.String name)
Removes an attribute from this request.void
setAttribute(java.lang.String name, java.lang.Object obj)
Stores an attribute in this request.void
setAuthType(java.lang.String authType)
void
setBodyContent(byte[] data)
void
setBodyContent(java.lang.String bodyContent)
void
setCharacterEncoding(java.lang.String charEncoding)
void
setContentType(java.lang.String contentType)
void
setContextPath(java.lang.String contextPath)
void
setHeader(java.lang.String name, java.lang.String value)
void
setLocalAddr(java.lang.String localAddr)
void
setLocalName(java.lang.String localName)
void
setLocalPort(int localPort)
void
setMethod(java.lang.String method)
void
setPathInfo(java.lang.String pathInfo)
void
setPathTranslated(java.lang.String pathTranslated)
void
setProtocol(java.lang.String protocol)
void
setQueryString(java.lang.String queryString)
void
setRemoteAddr(java.lang.String remoteAddr)
void
setRemoteHost(java.lang.String remoteHost)
void
setRemotePort(int remotePort)
void
setRemoteUser(java.lang.String remoteUser)
void
setRequestDispatcher(java.lang.String path, RequestDispatcher dispatcher)
void
setRequestedSessionId(java.lang.String requestedSessionId)
void
setRequestedSessionIdFromCookie(boolean requestedSessionIdIsFromCookie)
void
setRequestURI(java.lang.String requestedURI)
void
setRequestURL(java.lang.String requestUrl)
void
setScheme(java.lang.String schema)
void
setServerName(java.lang.String serverName)
void
setServerPort(int serverPort)
void
setServletPath(java.lang.String servletPath)
void
setSession(HttpSession session)
void
setupAddParameter(java.lang.String key, java.lang.String value)
void
setupAddParameter(java.lang.String key, java.lang.String[] values)
void
setUserInRole(java.lang.String role, boolean isInRole)
void
setUserPrincipal(java.security.Principal principal)
AsyncContext
startAsync()
AsyncContext
startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
<T extends HttpUpgradeHandler>
Tupgrade(java.lang.Class<T> handlerClass)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.servlet.http.HttpServletRequest
getHttpServletMapping, getTrailerFields, isTrailerFieldsReady, newPushBuilder
-
-
-
-
Field Detail
-
AUTHORIZATION
public static java.lang.String AUTHORIZATION
-
DATE_FORMAT_HEADER
public static final java.lang.String DATE_FORMAT_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.- Specified by:
getAttribute
in interfaceServletRequest
-
getAttributeNames
public java.util.Enumeration getAttributeNames()
to this request.- Specified by:
getAttributeNames
in interfaceServletRequest
-
getCharacterEncoding
public java.lang.String getCharacterEncoding()
Returns the name of the character encoding used in the body of this request.- Specified by:
getCharacterEncoding
in interfaceServletRequest
-
setCharacterEncoding
public void setCharacterEncoding(java.lang.String charEncoding) throws java.io.UnsupportedEncodingException
- Specified by:
setCharacterEncoding
in interfaceServletRequest
- Throws:
java.io.UnsupportedEncodingException
-
getContentLength
public int getContentLength()
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.- Specified by:
getContentLength
in interfaceServletRequest
-
getContentType
public java.lang.String getContentType()
Returns the MIME type of the body of the request, or null if the type is not known.- Specified by:
getContentType
in interfaceServletRequest
-
getInputStream
public ServletInputStream getInputStream() throws java.io.IOException
Retrieves the body of the request as binary data using a ServletInputStream.- Specified by:
getInputStream
in interfaceServletRequest
- Throws:
java.io.IOException
-
getParameter
public java.lang.String getParameter(java.lang.String name)
Returns the value of a request parameter as a String, or null if the parameter does not exist.- Specified by:
getParameter
in interfaceServletRequest
-
getParameterNames
public java.util.Enumeration getParameterNames()
Returns an Enumeration of String objects containing the names of the parameters contained in this request.- Specified by:
getParameterNames
in interfaceServletRequest
-
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.- Specified by:
getParameterValues
in interfaceServletRequest
-
getProtocol
public java.lang.String getProtocol()
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.- Specified by:
getProtocol
in interfaceServletRequest
-
getScheme
public java.lang.String getScheme()
Returns the name of the scheme used to make this request, for example, http, https, or ftp.- Specified by:
getScheme
in interfaceServletRequest
-
getServerName
public java.lang.String getServerName()
Returns the host name of the server that received the request.- Specified by:
getServerName
in interfaceServletRequest
-
getServerPort
public int getServerPort()
Returns the port number on which this request was received.- Specified by:
getServerPort
in interfaceServletRequest
-
getReader
public java.io.BufferedReader getReader() throws java.io.IOException
Retrieves the body of the request as character data using a BufferedReader.- Specified by:
getReader
in interfaceServletRequest
- Throws:
java.io.IOException
-
getRemoteAddr
public java.lang.String getRemoteAddr()
Returns the Internet Protocol (IP) address of the client that sent the request.- Specified by:
getRemoteAddr
in interfaceServletRequest
-
getRemoteHost
public java.lang.String getRemoteHost()
Returns the fully qualified name of the client that sent the request, or the IP address of the client if the name cannot be determined.- Specified by:
getRemoteHost
in interfaceServletRequest
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object obj)
Stores an attribute in this request.- Specified by:
setAttribute
in interfaceServletRequest
-
removeAttribute
public void removeAttribute(java.lang.String name)
Removes an attribute from this request.- Specified by:
removeAttribute
in interfaceServletRequest
-
getLocale
public java.util.Locale getLocale()
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.- Specified by:
getLocale
in interfaceServletRequest
-
getLocales
public java.util.Enumeration getLocales()
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.- Specified by:
getLocales
in interfaceServletRequest
-
isSecure
public boolean isSecure()
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.- Specified by:
isSecure
in interfaceServletRequest
-
getRequestDispatcher
public RequestDispatcher getRequestDispatcher(java.lang.String path)
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.- Specified by:
getRequestDispatcher
in interfaceServletRequest
-
getRealPath
public java.lang.String getRealPath(java.lang.String path)
Deprecated.Method getRealPath is deprecatedDeprecated. As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String) instead.- Specified by:
getRealPath
in interfaceServletRequest
-
getRemotePort
public int getRemotePort()
- Specified by:
getRemotePort
in interfaceServletRequest
-
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interfaceServletRequest
-
getLocalAddr
public java.lang.String getLocalAddr()
- Specified by:
getLocalAddr
in interfaceServletRequest
-
getLocalPort
public int getLocalPort()
- Specified by:
getLocalPort
in interfaceServletRequest
-
getAuthType
public java.lang.String getAuthType()
Returns the name of the authentication scheme used to protect the servlet, for example, "BASIC" or "SSL," or null if the servlet was not protected.- Specified by:
getAuthType
in interfaceHttpServletRequest
-
getCookies
public Cookie[] getCookies()
Returns an array containing all of the Cookie objects the client sent with this request.- Specified by:
getCookies
in interfaceHttpServletRequest
-
getDateHeader
public long getDateHeader(java.lang.String name)
Returns the value of the specified request header as a long value that represents a Date object.- Specified by:
getDateHeader
in interfaceHttpServletRequest
-
getHeader
public java.lang.String getHeader(java.lang.String name)
Returns the value of the specified request header as a String.- Specified by:
getHeader
in interfaceHttpServletRequest
-
getHeaders
public java.util.Enumeration getHeaders(java.lang.String name)
Returns all the values of the specified request header as an Enumeration of String objects.- Specified by:
getHeaders
in interfaceHttpServletRequest
-
getHeaderNames
public java.util.Enumeration getHeaderNames()
Returns an enumeration of all the header names this request contains.- Specified by:
getHeaderNames
in interfaceHttpServletRequest
-
getIntHeader
public int getIntHeader(java.lang.String name)
Returns the value of the specified request header as an int.- Specified by:
getIntHeader
in interfaceHttpServletRequest
-
getMethod
public java.lang.String getMethod()
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.- Specified by:
getMethod
in interfaceHttpServletRequest
-
getPathInfo
public java.lang.String getPathInfo()
Returns any extra path information associated with the URL the client sent when it made this request.- Specified by:
getPathInfo
in interfaceHttpServletRequest
-
getPathTranslated
public java.lang.String getPathTranslated()
Returns any extra path information after the servlet name but before the query string, and translates it to a real path.- Specified by:
getPathTranslated
in interfaceHttpServletRequest
-
getContextPath
public java.lang.String getContextPath()
Returns the portion of the request URI that indicates the context of the request.- Specified by:
getContextPath
in interfaceHttpServletRequest
-
getQueryString
public java.lang.String getQueryString()
Returns the query string that is contained in the request URL after the path.- Specified by:
getQueryString
in interfaceHttpServletRequest
-
getRemoteUser
public java.lang.String getRemoteUser()
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.- Specified by:
getRemoteUser
in interfaceHttpServletRequest
-
isUserInRole
public boolean isUserInRole(java.lang.String role)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".- Specified by:
isUserInRole
in interfaceHttpServletRequest
-
getUserPrincipal
public java.security.Principal getUserPrincipal()
Returns a java.security.Principal object containing the name of the current authenticated user.- Specified by:
getUserPrincipal
in interfaceHttpServletRequest
-
getRequestedSessionId
public java.lang.String getRequestedSessionId()
Returns the session ID specified by the client.- Specified by:
getRequestedSessionId
in interfaceHttpServletRequest
-
getRequestURI
public java.lang.String getRequestURI()
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.- Specified by:
getRequestURI
in interfaceHttpServletRequest
-
getRequestURL
public java.lang.StringBuffer getRequestURL()
- Specified by:
getRequestURL
in interfaceHttpServletRequest
-
getServletPath
public java.lang.String getServletPath()
Returns the part of this request's URL that calls the servlet.- Specified by:
getServletPath
in interfaceHttpServletRequest
-
getSession
public HttpSession getSession(boolean create)
Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session.- Specified by:
getSession
in interfaceHttpServletRequest
-
getSession
public HttpSession getSession()
Returns the current session associated with this request, or if the request does not have a session, creates one.- Specified by:
getSession
in interfaceHttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()
Checks whether the requested session ID is still valid.- Specified by:
isRequestedSessionIdValid
in interfaceHttpServletRequest
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()
Checks whether the requested session ID came in as a cookie.- Specified by:
isRequestedSessionIdFromCookie
in interfaceHttpServletRequest
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()
Checks whether the requested session ID came in as part of the request URL.- Specified by:
isRequestedSessionIdFromURL
in interfaceHttpServletRequest
-
isRequestedSessionIdFromUrl
public boolean isRequestedSessionIdFromUrl()
- Specified by:
isRequestedSessionIdFromUrl
in interfaceHttpServletRequest
-
getParameterMap
public java.util.Map getParameterMap()
- Specified by:
getParameterMap
in interfaceServletRequest
-
setServerName
public void setServerName(java.lang.String serverName)
-
setRemoteHost
public void setRemoteHost(java.lang.String remoteHost)
-
setRemoteAddr
public void setRemoteAddr(java.lang.String remoteAddr)
-
setMethod
public void setMethod(java.lang.String method)
-
setPathInfo
public void setPathInfo(java.lang.String pathInfo)
-
setPathTranslated
public void setPathTranslated(java.lang.String pathTranslated)
-
setContextPath
public void setContextPath(java.lang.String contextPath)
-
setQueryString
public void setQueryString(java.lang.String queryString)
-
setRemoteUser
public void setRemoteUser(java.lang.String remoteUser)
-
setRequestedSessionId
public void setRequestedSessionId(java.lang.String requestedSessionId)
-
setRequestURI
public void setRequestURI(java.lang.String requestedURI)
-
setServletPath
public void setServletPath(java.lang.String servletPath)
-
setLocalName
public void setLocalName(java.lang.String localName)
-
setLocalAddr
public void setLocalAddr(java.lang.String localAddr)
-
setAuthType
public void setAuthType(java.lang.String authType)
-
setProtocol
public void setProtocol(java.lang.String protocol)
-
setScheme
public void setScheme(java.lang.String schema)
-
setRemotePort
public void setRemotePort(int remotePort)
-
setLocalPort
public void setLocalPort(int localPort)
-
setServerPort
public void setServerPort(int serverPort)
-
setContentType
public void setContentType(java.lang.String contentType)
-
setHeader
public void setHeader(java.lang.String name, java.lang.String value)
-
clearParameters
public void clearParameters()
-
setupAddParameter
public void setupAddParameter(java.lang.String key, java.lang.String[] values)
-
setupAddParameter
public void setupAddParameter(java.lang.String key, java.lang.String value)
-
clearAttributes
public void clearAttributes()
-
setSession
public void setSession(HttpSession session)
-
getRequestDispatcherMap
public java.util.Map<java.lang.String,RequestDispatcher> getRequestDispatcherMap()
-
setRequestDispatcher
public void setRequestDispatcher(java.lang.String path, RequestDispatcher dispatcher)
-
addLocale
public void addLocale(java.util.Locale locale)
-
addLocales
public void addLocales(java.util.List<java.util.Locale> localeList)
-
addHeader
public void addHeader(java.lang.String key, java.lang.String value)
-
clearHeader
public void clearHeader(java.lang.String key)
-
setRequestURL
public void setRequestURL(java.lang.String requestUrl)
-
setUserPrincipal
public void setUserPrincipal(java.security.Principal principal)
-
addCookie
public void addCookie(Cookie cookie)
-
setRequestedSessionIdFromCookie
public void setRequestedSessionIdFromCookie(boolean requestedSessionIdIsFromCookie)
-
setUserInRole
public void setUserInRole(java.lang.String role, boolean isInRole)
-
setBodyContent
public void setBodyContent(byte[] data)
-
setBodyContent
public void setBodyContent(java.lang.String bodyContent)
-
changeSessionId
public java.lang.String changeSessionId()
- Specified by:
changeSessionId
in interfaceHttpServletRequest
-
authenticate
public boolean authenticate(HttpServletResponse response) throws java.io.IOException, ServletException
- Specified by:
authenticate
in interfaceHttpServletRequest
- Throws:
java.io.IOException
ServletException
-
login
public void login(java.lang.String username, java.lang.String password) throws ServletException
- Specified by:
login
in interfaceHttpServletRequest
- Throws:
ServletException
-
logout
public void logout() throws ServletException
- Specified by:
logout
in interfaceHttpServletRequest
- Throws:
ServletException
-
getParts
public java.util.Collection<Part> getParts() throws java.io.IOException, ServletException
- Specified by:
getParts
in interfaceHttpServletRequest
- Throws:
java.io.IOException
ServletException
-
getPart
public Part getPart(java.lang.String name) throws java.io.IOException, ServletException
- Specified by:
getPart
in interfaceHttpServletRequest
- Throws:
java.io.IOException
ServletException
-
upgrade
public <T extends HttpUpgradeHandler> T upgrade(java.lang.Class<T> handlerClass) throws java.io.IOException, ServletException
- Specified by:
upgrade
in interfaceHttpServletRequest
- Throws:
java.io.IOException
ServletException
-
getContentLengthLong
public long getContentLengthLong()
- Specified by:
getContentLengthLong
in interfaceServletRequest
-
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interfaceServletRequest
-
startAsync
public AsyncContext startAsync() throws java.lang.IllegalStateException
- Specified by:
startAsync
in interfaceServletRequest
- Throws:
java.lang.IllegalStateException
-
startAsync
public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws java.lang.IllegalStateException
- Specified by:
startAsync
in interfaceServletRequest
- Throws:
java.lang.IllegalStateException
-
isAsyncStarted
public boolean isAsyncStarted()
- Specified by:
isAsyncStarted
in interfaceServletRequest
-
isAsyncSupported
public boolean isAsyncSupported()
- Specified by:
isAsyncSupported
in interfaceServletRequest
-
getAsyncContext
public AsyncContext getAsyncContext()
- Specified by:
getAsyncContext
in interfaceServletRequest
-
getDispatcherType
public DispatcherType getDispatcherType()
- Specified by:
getDispatcherType
in interfaceServletRequest
-
-