java.lang.Object
cloud.piranha.core.impl.DefaultWebApplicationRequest
cloud.piranha.http.webapp.HttpWebApplicationRequest
- All Implemented Interfaces:
WebApplicationRequest
,jakarta.servlet.http.HttpServletRequest
,jakarta.servlet.ServletRequest
The HttpServerRequest variant of WebApplicationRequest.
- Author:
- Manfred Riem ([email protected])
-
Field Summary
Fields inherited from class cloud.piranha.core.impl.DefaultWebApplicationRequest
asyncContext, asyncStarted, asyncSupported, attributeManager, authType, characterEncoding, contentLength, contentType, contextPath, cookies, currentSessionId, dispatcherType, gotInputStream, gotReader, headerManager, httpServletMapping, index, localAddress, localName, localPort, method, multipartConfig, originalServletPath, parameters, parametersParsed, pathInfo, protocol, protocolRequestId, queryString, reader, readListener, remoteAddr, remoteHost, remotePort, requestedSessionId, requestedSessionIdFromCookie, requestedSessionIdFromURL, requestId, scheme, serverName, serverPort, servletConnection, servletPath, upgraded, upgradeHandler, userPrincipal, webApplication, webApplicationInputStream
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getDateHeader
(String name) getHeaders
(String name) int
getIntHeader
(String name) boolean
isSecure()
Methods inherited from class cloud.piranha.core.impl.DefaultWebApplicationRequest
addHeader, authenticate, changeSessionId, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentLengthLong, getContextPath, getCookies, getCurrentSessionId, getDispatcherType, getHttpServletMapping, getInputStream, getLocale, getLocales, getLocalName, getLocalPort, getMultipartConfig, getOriginalServletPath, getParameter, getParameterMap, getParameterNames, getParametersFromRequest, getParameterValues, getPart, getParts, getPathInfo, getPathTranslated, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestId, getRequestURI, getRequestURIWithQueryString, getRequestURL, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, getServletPath, getSession, getSession, getUpgradeHandler, getUserPrincipal, getWebApplicationInputStream, isAsyncStarted, isAsyncSupported, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUpgraded, isUserInRole, login, logout, removeAttribute, setAsyncStarted, setAsyncSupported, setAttribute, setAuthType, setCharacterEncoding, setContentLength, setContentType, setContextPath, setCookies, setCurrentSessionId, setDispatcherType, setHeader, setHttpServletMapping, setLocalAddr, setLocalName, setLocalPort, setMethod, setMultipartConfig, setOriginalServletPath, setParameter, setPathInfo, setProtocol, setQueryString, setRemoteAddr, setRemoteHost, setRemotePort, setRequestedSessionId, setRequestedSessionIdFromCookie, setRequestedSessionIdFromURL, setScheme, setServerName, setServerPort, setServletPath, setUpgraded, setUserPrincipal, setWebApplication, setWebApplicationInputStream, startAsync, startAsync, toString, unwrap, upgrade, verifyMultipartFormData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.servlet.http.HttpServletRequest
getTrailerFields, isTrailerFieldsReady, newPushBuilder
-
Constructor Details
-
HttpWebApplicationRequest
Constructor.- Parameters:
wrapped
- the wrapped HttpServerRequest.
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in interfacejakarta.servlet.ServletRequest
- Overrides:
getContentType
in classDefaultWebApplicationRequest
-
getDateHeader
- Specified by:
getDateHeader
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getDateHeader
in classDefaultWebApplicationRequest
-
getHeader
- Specified by:
getHeader
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getHeader
in classDefaultWebApplicationRequest
-
getHeaderNames
- Specified by:
getHeaderNames
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getHeaderNames
in classDefaultWebApplicationRequest
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getHeaders
in classDefaultWebApplicationRequest
-
getIntHeader
- Specified by:
getIntHeader
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getIntHeader
in classDefaultWebApplicationRequest
-
getLocalAddr
- Specified by:
getLocalAddr
in interfacejakarta.servlet.ServletRequest
- Overrides:
getLocalAddr
in classDefaultWebApplicationRequest
-
getMethod
- Specified by:
getMethod
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getMethod
in classDefaultWebApplicationRequest
-
getQueryString
- Specified by:
getQueryString
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getQueryString
in classDefaultWebApplicationRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacejakarta.servlet.ServletRequest
- Overrides:
isSecure
in classDefaultWebApplicationRequest
-