public class ThreadLocalServletRequest extends AbstractRestThreadLocalProxy<ServletRequest>
Modifier | Constructor and Description |
---|---|
protected |
ThreadLocalServletRequest() |
Modifier and Type | Method and Description |
---|---|
AsyncContext |
getAsyncContext() |
java.lang.Object |
getAttribute(java.lang.String string) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
long |
getContentLengthLong() |
java.lang.String |
getContentType() |
DispatcherType |
getDispatcherType() |
ServletInputStream |
getInputStream() |
java.lang.String |
getLocalAddr() |
java.util.Locale |
getLocale() |
java.util.Enumeration<java.util.Locale> |
getLocales() |
java.lang.String |
getLocalName() |
int |
getLocalPort() |
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) |
java.lang.String |
getProtocol() |
java.io.BufferedReader |
getReader() |
java.lang.String |
getRealPath(java.lang.String string) |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
RequestDispatcher |
getRequestDispatcher(java.lang.String string) |
java.lang.String |
getScheme() |
java.lang.String |
getServerName() |
int |
getServerPort() |
ServletContext |
getServletContext() |
boolean |
isAsyncStarted() |
boolean |
isAsyncSupported() |
boolean |
isSecure() |
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) |
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)