public class GbifHttpServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper
Constructor and Description |
---|
GbifHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request) |
GbifHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
boolean wrapContent) |
GbifHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
String contentAsString,
boolean wrapContent) |
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
String |
getHeader(String name) |
Enumeration<String> |
getHeaderNames() |
Enumeration<String> |
getHeaders(String name) |
org.springframework.http.HttpHeaders |
getHttpHeaders() |
javax.servlet.ServletInputStream |
getInputStream() |
BufferedReader |
getReader() |
void |
overwriteLanguageHeader(String newValue) |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, 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, upgrade
getAsyncContext, 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, startAsync
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncContext, 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, startAsync
public GbifHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request)
public GbifHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request, boolean wrapContent)
public GbifHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request, String contentAsString, boolean wrapContent)
public javax.servlet.ServletInputStream getInputStream() throws IOException
getInputStream
in interface javax.servlet.ServletRequest
getInputStream
in class javax.servlet.ServletRequestWrapper
IOException
public BufferedReader getReader() throws IOException
getReader
in interface javax.servlet.ServletRequest
getReader
in class javax.servlet.ServletRequestWrapper
IOException
public String getContent()
public org.springframework.http.HttpHeaders getHttpHeaders()
public void overwriteLanguageHeader(String newValue)
public String getHeader(String name)
getHeader
in interface javax.servlet.http.HttpServletRequest
getHeader
in class javax.servlet.http.HttpServletRequestWrapper
public Enumeration<String> getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
getHeaderNames
in class javax.servlet.http.HttpServletRequestWrapper
public Enumeration<String> getHeaders(String name)
getHeaders
in interface javax.servlet.http.HttpServletRequest
getHeaders
in class javax.servlet.http.HttpServletRequestWrapper
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.