public class ThreadLocalHttpServletRequest extends AbstractRestThreadLocalProxy<HttpServletRequest>
Modifier | Constructor and Description |
---|---|
protected |
ThreadLocalHttpServletRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(HttpServletResponse httpServletResponse) |
java.lang.String |
changeSessionId() |
AsyncContext |
getAsyncContext() |
java.lang.Object |
getAttribute(java.lang.String string) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
java.lang.String |
getAuthType() |
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
long |
getContentLengthLong() |
java.lang.String |
getContentType() |
java.lang.String |
getContextPath() |
Cookie[] |
getCookies() |
long |
getDateHeader(java.lang.String s) |
DispatcherType |
getDispatcherType() |
java.lang.String |
getHeader(java.lang.String s) |
java.util.Enumeration<java.lang.String> |
getHeaderNames() |
java.util.Enumeration<java.lang.String> |
getHeaders(java.lang.String s) |
ServletInputStream |
getInputStream() |
int |
getIntHeader(java.lang.String s) |
java.lang.String |
getLocalAddr() |
java.util.Locale |
getLocale() |
java.util.Enumeration<java.util.Locale> |
getLocales() |
java.lang.String |
getLocalName() |
int |
getLocalPort() |
java.lang.String |
getMethod() |
java.lang.String |
getParameter(java.lang.String string) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Enumeration<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String string) |
Part |
getPart(java.lang.String s) |
java.util.Collection<Part> |
getParts() |
java.lang.String |
getPathInfo() |
java.lang.String |
getPathTranslated() |
java.lang.String |
getProtocol() |
java.lang.String |
getQueryString() |
java.io.BufferedReader |
getReader() |
java.lang.String |
getRealPath(java.lang.String string) |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
java.lang.String |
getRemoteUser() |
RequestDispatcher |
getRequestDispatcher(java.lang.String string) |
java.lang.String |
getRequestedSessionId() |
java.lang.String |
getRequestURI() |
java.lang.StringBuffer |
getRequestURL() |
java.lang.String |
getScheme() |
java.lang.String |
getServerName() |
int |
getServerPort() |
ServletContext |
getServletContext() |
java.lang.String |
getServletPath() |
HttpSession |
getSession() |
HttpSession |
getSession(boolean b) |
java.security.Principal |
getUserPrincipal() |
boolean |
isAsyncStarted() |
boolean |
isAsyncSupported() |
boolean |
isRequestedSessionIdFromCookie() |
boolean |
isRequestedSessionIdFromUrl() |
boolean |
isRequestedSessionIdFromURL() |
boolean |
isRequestedSessionIdValid() |
boolean |
isSecure() |
boolean |
isUserInRole(java.lang.String s) |
void |
login(java.lang.String s,
java.lang.String s1) |
void |
logout() |
void |
removeAttribute(java.lang.String string) |
void |
setAttribute(java.lang.String string,
java.lang.Object object) |
void |
setCharacterEncoding(java.lang.String string) |
AsyncContext |
startAsync() |
AsyncContext |
startAsync(ServletRequest servletRequest,
ServletResponse servletResponse) |
<T extends HttpUpgradeHandler> |
upgrade(java.lang.Class<T> httpUpgradeHandlerClass) |
find, get, remove, set
public AsyncContext getAsyncContext()
public java.lang.Object getAttribute(java.lang.String string)
public java.util.Enumeration<java.lang.String> getAttributeNames()
public java.lang.String getCharacterEncoding()
public int getContentLength()
public long getContentLengthLong()
public java.lang.String getContentType()
public DispatcherType getDispatcherType()
public ServletInputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.lang.String getLocalAddr()
public java.util.Locale getLocale()
public java.util.Enumeration<java.util.Locale> getLocales()
public java.lang.String getLocalName()
public int getLocalPort()
public java.lang.String getParameter(java.lang.String string)
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
public java.lang.String[] getParameterValues(java.lang.String string)
public java.util.Enumeration<java.lang.String> getParameterNames()
public java.lang.String getProtocol()
public java.io.BufferedReader getReader() throws java.io.IOException
java.io.IOException
public java.lang.String getRealPath(java.lang.String string)
public java.lang.String getRemoteAddr()
public java.lang.String getRemoteHost()
public int getRemotePort()
public RequestDispatcher getRequestDispatcher(java.lang.String string)
public java.lang.String getScheme()
public java.lang.String getServerName()
public int getServerPort()
public ServletContext getServletContext()
public boolean isAsyncStarted()
public boolean isAsyncSupported()
public boolean isSecure()
public void removeAttribute(java.lang.String string)
public void setAttribute(java.lang.String string, java.lang.Object object)
public void setCharacterEncoding(java.lang.String string) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public AsyncContext startAsync()
public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
public boolean authenticate(HttpServletResponse httpServletResponse) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public java.lang.String getAuthType()
public java.lang.String getContextPath()
public Cookie[] getCookies()
public long getDateHeader(java.lang.String s)
public java.lang.String getHeader(java.lang.String s)
public java.util.Enumeration<java.lang.String> getHeaderNames()
public java.util.Enumeration<java.lang.String> getHeaders(java.lang.String s)
public int getIntHeader(java.lang.String s)
public java.lang.String getMethod()
public Part getPart(java.lang.String s) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public <T extends HttpUpgradeHandler> T upgrade(java.lang.Class<T> httpUpgradeHandlerClass) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public java.util.Collection<Part> getParts() throws java.io.IOException, ServletException
java.io.IOException
ServletException
public java.lang.String getPathInfo()
public java.lang.String getPathTranslated()
public java.lang.String getQueryString()
public java.lang.String getRemoteUser()
public java.lang.String getRequestedSessionId()
public java.lang.String getRequestURI()
public java.lang.StringBuffer getRequestURL()
public java.lang.String getServletPath()
public HttpSession getSession()
public java.lang.String changeSessionId()
public HttpSession getSession(boolean b)
public java.security.Principal getUserPrincipal()
public boolean isRequestedSessionIdFromCookie()
public boolean isRequestedSessionIdFromUrl()
public boolean isRequestedSessionIdFromURL()
public boolean isRequestedSessionIdValid()
public boolean isUserInRole(java.lang.String s)
public void login(java.lang.String s, java.lang.String s1) throws ServletException
ServletException
public void logout() throws ServletException
ServletException