java.lang.Object
java.io.InputStream
jakarta.servlet.ServletInputStream
cloud.piranha.webapp.impl.DefaultWebApplicationRequest
cloud.piranha.nano.NanoRequest
- All Implemented Interfaces:
WebApplicationRequest
,HttpServletRequest
,ServletRequest
,Closeable
,AutoCloseable
The WebApplicationRequest class used by
NanoPiranha
- Author:
- Manfred Riem ([email protected])
- See Also:
NanoPiranha
-
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
Methods inherited from class cloud.piranha.webapp.impl.DefaultWebApplicationRequest
authenticate, changeSessionId, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getContextPath, getCookies, getDateHeader, getDispatcherType, getHeader, getHeaderNames, getHeaders, 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
-
NanoRequest
public NanoRequest()Constructor.
-
-
Method Details
-
addHeader
Add a header.- Parameters:
name
- the name.value
- the value.
-