public class PwcCoyoteRequest extends Request
attributes, authType, CACHED_POST_LEN, checkRestrictedResources, checkUnsuccessfulSessionFind, connector, context, cookies, cookiesParsed, coyoteRequest, defaultContextMaskingFacade, defaultLocale, discardDisconnectEvent, dispatcherTypeAttr, facade, filterChain, formats, hostValve, info, inputBuffer, inputStream, localAddr, locales, localesParsed, localName, localPort, mappingData, parameterMap, parametersProcessed, postData, reader, remoteAddr, remoteHost, remotePort, requestDispatcherPath, requestedSessionCookie, requestedSessionCookiePath, requestedSessionId, requestedSessionURL, requestedSessionVersion, response, secure, servletContext, session, sessionParsed, socket, subject, URIConverter, uriParamsCC, userPrincipal, usingInputStream, usingReader, wrapper| Constructor and Description |
|---|
PwcCoyoteRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureSessionCookie(javax.servlet.http.Cookie cookie)
Configures the given JSESSIONID cookie.
|
String |
getCharacterEncoding()
Return the character encoding for this Request.
|
protected byte[] |
getPostBody()
Gets the POST body of this request.
|
BufferedReader |
getReader()
Read the Reader wrapping the input stream for this Request.
|
protected javax.servlet.http.Cookie |
makeCookie(org.glassfish.grizzly.http.Cookie scookie) |
void |
recycle()
Release all object references, and initialize instance variables, in
preparation for reuse of this object.
|
void |
setContext(Context ctx)
Set the Context within which this Request is being processed.
|
addCookie, addHeader, addLocale, addParameter, authenticate, changeSessionId, clearCookies, clearHeaders, clearLocales, clearParameters, convertURI, createInputStream, decrementDispatchDepth, disableAsyncSupport, doGetSession, finishRequest, generateSessionId, getAsyncContext, getAttribute, getAttributeNames, getAuthorization, getAuthType, getCheckRestrictedResources, getConnector, getContentLength, getContentLengthLong, getContentType, getContext, getContextPath, getContextPath, getCookies, getCoyoteRequest, getDateHeader, getDecodedRequestURI, getDecodedRequestURI, getDispatcherType, getFilterChain, getHeader, getHeaderNames, getHeaders, getHost, getHttpUpgradeHandler, getInfo, getInputStream, getIntHeader, getJrouteId, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMappingData, getMaxDispatchDepth, getMethod, getNote, getNoteNames, getParameter, getParameterMap, getParameterNames, getParameterValues, getPart, getParts, getPathInfo, getPathTranslated, getProtocol, getQueryString, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequest, getRequest, getRequestDispatcher, getRequestedSessionId, getRequestPathMB, getRequestURI, getRequestURI, getRequestURL, getRequestURL, getResponse, getScheme, getServerName, getServerPort, getServletContext, getServletPath, getSession, getSession, getSessionInternal, getSessionInternal, getSocket, getStream, getUnsuccessfulSessionFind, getURIConverter, getUserPrincipal, getWebConnection, getWrapper, incrementDispatchDepth, initialiseHttpUpgradeHandler, isAlpha, isAsyncStarted, isAsyncSupported, isMaxDispatchDepthReached, isRequestedSessionIdFromCookie, isRequestedSessionIdFromSecureCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUpgrade, isUserInRole, lockSession, login, login, logout, makeCookie, obtainSessionId, parseCookies, parseJReplica, parseSessionCookiesId, parseSessionId, parseSessionVersion, readPostBody, removeAttribute, removeNote, replayPayload, setAttribute, setAuthType, setCharacterEncoding, setCheckRestrictedResources, setConnector, setContentLength, setContentType, setCookies, setCoyoteRequest, setDefaultContext, setEnforceScope, setFilterChain, setHost, setMappingData, setMaxDispatchDepth, setMethod, setNote, setPathInfo, setProtocol, setQueryString, setRemoteAddr, setRemoteHost, setRequestedSessionCookie, setRequestedSessionCookiePath, setRequestedSessionId, setRequestedSessionIdFromSecureCookie, setRequestedSessionURL, setRequestURI, setResponse, setSecure, setServerName, setServerPort, setServletPath, setSession, setSocket, setStream, setUnsuccessfulSessionFind, setUpgrade, setURIConverter, setUserPrincipal, setWebConnection, setWrapper, startAsync, startAsync, unlockSession, updatePaths, upgradepublic void setContext(Context ctx)
RequestgetContextPath(),
and thus enables parsing of the request URI.setContext in interface RequestsetContext in class Requestctx - The newly associated Contextpublic BufferedReader getReader() throws IOException
RequestBufferedReader around the
servlet input stream returned by createInputStream().getReader in interface javax.servlet.ServletRequestgetReader in class RequestIOException - if an input/output error occurspublic String getCharacterEncoding()
getCharacterEncoding in interface javax.servlet.ServletRequestgetCharacterEncoding in class Requestpublic void configureSessionCookie(javax.servlet.http.Cookie cookie)
RequestconfigureSessionCookie in class Requestcookie - The JSESSIONID cookie to be configuredpublic void recycle()
Requestprotected byte[] getPostBody()
throws IOException
getPostBody in class RequestIOExceptionprotected javax.servlet.http.Cookie makeCookie(org.glassfish.grizzly.http.Cookie scookie)
makeCookie in class RequestCopyright © 2017. All rights reserved.