- All Superinterfaces:
HttpServletRequest
,ServletRequest
- All Known Implementing Classes:
AsyncHttpDispatchWrapper
,DefaultWebApplicationRequest
,EmbeddedRequest
,HttpWebApplicationRequest
,NanoRequest
The WebApplicationRequest API.
- Author:
- Manfred Riem ([email protected])
-
Field Summary
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Method Summary
Modifier and TypeMethodDescriptionReturns the multipartConfig.void
setContextPath(String contextPath)
Set the context path.void
setDispatcherType(DispatcherType dispatcherType)
Set the dispatcher type.void
setServletPath(String servletPath)
Set the servlet path.void
setWebApplication(WebApplication webApplication)
Set the web application.Methods inherited from interface jakarta.servlet.http.HttpServletRequest
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, logout, newPushBuilder, upgrade
Methods inherited from interface jakarta.servlet.ServletRequest
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, startAsync, startAsync
-
Method Details
-
setContextPath
Set the context path.- Parameters:
contextPath
- the context path.
-
setDispatcherType
Set the dispatcher type.- Parameters:
dispatcherType
- the dispatcher type.
-
setServletPath
Set the servlet path.- Parameters:
servletPath
- the servlet path.
-
setWebApplication
Set the web application.- Parameters:
webApplication
- the web application.
-
getMultipartConfig
MultipartConfigElement getMultipartConfig()Returns the multipartConfig.- Returns:
- the multipartConfig
-