java.lang.Object
java.io.InputStream
jakarta.servlet.ServletInputStream
cloud.piranha.webapp.impl.DefaultWebApplicationRequest
cloud.piranha.http.webapp.HttpWebApplicationRequest
- All Implemented Interfaces:
WebApplicationRequest
,HttpServletRequest
,ServletRequest
,Closeable
,AutoCloseable
The HttpServerRequest variant of WebApplicationRequest.
- Author:
- Manfred Riem ([email protected])
-
Field Summary
Fields inherited from class cloud.piranha.webapp.impl.DefaultWebApplicationRequest
asyncContext, asyncStarted, asyncSupported, attributeManager, authType, characterEncoding, contentLength, contentType, contextPath, cookies, currentSessionId, dispatcherType, gotInputStream, gotReader, headerManager, httpServletMapping, inputStream, localAddress, localName, localPort, method, multipartConfig, originalServletPath, parameters, parametersParsed, pathInfo, protocol, queryString, reader, remoteAddr, remoteHost, remotePort, requestedSessionId, requestedSessionIdFromCookie, requestedSessionIdFromURL, scheme, serverName, serverPort, servletPath, upgraded, upgradeHandler, userPrincipal, webApplication
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the header.Returns the header names.getHeaders(String name)
Get the headers.Methods inherited from class cloud.piranha.webapp.impl.DefaultWebApplicationRequest
authenticate, changeSessionId, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getContextPath, getCookies, getDateHeader, getDispatcherType, getHttpServletMapping, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getMultipartConfig, getOriginalServletPath, getParameter, getParameterMap, getParameterNames, getParametersFromRequest, getParameterValues, getPart, getParts, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURIWithQueryString, getRequestURL, getScheme, getServerName, getServerPort, getServletContext, getServletPath, getSession, getSession, getUpgradeHandler, getUserPrincipal, isAsyncStarted, isAsyncSupported, isFinished, isReady, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUpgraded, isUserInRole, login, logout, read, removeAttribute, setAsyncStarted, setAsyncSupported, setAttribute, setAuthType, setCharacterEncoding, setContentLength, setContentType, setContextPath, setCookies, setDispatcherType, setHeader, setHttpServletMapping, setInputStream, setLocalAddr, setLocalName, setLocalPort, setMethod, setMultipartConfig, setOriginalServletPath, setParameter, setPathInfo, setProtocol, setQueryString, setReadListener, setRemoteAddr, setRemoteHost, setRemotePort, setRequestedSessionId, setRequestedSessionIdFromCookie, setRequestedSessionIdFromURL, setScheme, setServerName, setServerPort, setServletPath, setUpgraded, setUserPrincipal, setWebApplication, startAsync, startAsync, toString, unwrap, upgrade, verifyMultipartFormData
Methods inherited from class jakarta.servlet.ServletInputStream
readLine
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
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
-
getHeader
Description copied from class:DefaultWebApplicationRequest
Get the header.- Specified by:
getHeader
in interfaceHttpServletRequest
- Overrides:
getHeader
in classDefaultWebApplicationRequest
- Parameters:
name
- the header name.- Returns:
- the header value.
-
getHeaderNames
Description copied from class:DefaultWebApplicationRequest
Returns the header names.- Specified by:
getHeaderNames
in interfaceHttpServletRequest
- Overrides:
getHeaderNames
in classDefaultWebApplicationRequest
- Returns:
- the header names
-
getHeaders
Description copied from class:DefaultWebApplicationRequest
Get the headers.- Specified by:
getHeaders
in interfaceHttpServletRequest
- Overrides:
getHeaders
in classDefaultWebApplicationRequest
- Parameters:
name
- the header name.- Returns:
- the header values.
-