public class JerseyAdaptedHttpServletRequest
extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_PATH_BASED_CONNEG |
static String |
PROPERTY_RESOURCE_PROVIDER_FACTORY |
static String |
PROPERTY_SERVLET_PATH |
| Constructor and Description |
|---|
JerseyAdaptedHttpServletRequest(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.MediaType mediaType)
Create a request adapted for Jersey.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader(String headerName)
If the media type is specified we override the "Accept" header.
|
Enumeration |
getHeaderNames()
If the media type is specified we ensure the "Accept" header is supplied.
|
Enumeration |
getHeaders(String headerName)
If the media type is specified we override the "Accept" header.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, 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, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic static final String PROPERTY_SERVLET_PATH
public static final String PROPERTY_RESOURCE_PROVIDER_FACTORY
public static final String FEATURE_PATH_BASED_CONNEG
public JerseyAdaptedHttpServletRequest(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.MediaType mediaType)
request - The request.mediaType - The specific media type requested.public String getHeader(String headerName)
getHeader in interface javax.servlet.http.HttpServletRequestgetHeader in class javax.servlet.http.HttpServletRequestWrapperheaderName - The header name.public Enumeration getHeaders(String headerName)
getHeaders in interface javax.servlet.http.HttpServletRequestgetHeaders in class javax.servlet.http.HttpServletRequestWrapperheaderName - The header name.public Enumeration getHeaderNames()
getHeaderNames in interface javax.servlet.http.HttpServletRequestgetHeaderNames in class javax.servlet.http.HttpServletRequestWrapperCopyright © 2016. All rights reserved.