public class PayloadNameRequestWrapper extends HttpServletRequestWrapper
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Constructor and Description |
|---|
PayloadNameRequestWrapper(HttpServletRequest request)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected BufferedInputStream |
getBufferedInputStream() |
ServletInputStream |
getInputStream() |
String |
getPayloadRequestName() |
String |
getPayloadRequestType()
Get type of request.
|
BufferedReader |
getReader() |
protected void |
initialize() |
protected void |
resetBufferedInputStream() |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic PayloadNameRequestWrapper(HttpServletRequest request)
request - the original HttpServletRequestprotected void initialize()
throws IOException
IOExceptionprotected BufferedInputStream getBufferedInputStream() throws IOException
IOExceptionprotected void resetBufferedInputStream()
throws IOException
IOExceptionpublic BufferedReader getReader() throws IOException
getReader in interface ServletRequestgetReader in class ServletRequestWrapperIOExceptionpublic ServletInputStream getInputStream() throws IOException
getInputStream in interface ServletRequestgetInputStream in class ServletRequestWrapperIOExceptionpublic String getPayloadRequestName()
public String getPayloadRequestType()
getPayloadRequestName() returns non-null then
this method also returns non-null.Copyright © 2008–2019 Emeric Vernat. All rights reserved.