java.lang.Object
java.io.InputStream
jakarta.servlet.ServletInputStream
cloud.piranha.core.impl.DefaultWebApplicationRequest
cloud.piranha.nano.NanoRequest
- All Implemented Interfaces:
cloud.piranha.core.api.WebApplicationRequest,jakarta.servlet.http.HttpServletRequest,jakarta.servlet.ServletRequest,Closeable,AutoCloseable
The WebApplicationRequest class used by
NanoPiranha- Author:
- Manfred Riem (mriem@manorrock.com)
- See Also:
-
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, 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, webApplicationFields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cloud.piranha.core.impl.DefaultWebApplicationRequest
authenticate, changeSessionId, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getContextPath, getCookies, getCurrentSessionId, 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, setCurrentSessionId, 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, verifyMultipartFormDataMethods inherited from class jakarta.servlet.ServletInputStream
readLineMethods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.servlet.http.HttpServletRequest
getTrailerFields, isTrailerFieldsReady, newPushBuilder
-
Constructor Details
-
NanoRequest
public NanoRequest()Constructor.
-
-
Method Details
-
addHeader
Add a header.- Overrides:
addHeaderin classDefaultWebApplicationRequest- Parameters:
name- the name.value- the value.
-