public class AtmosphereRequestImpl extends jakarta.servlet.http.HttpServletRequestWrapper implements AtmosphereRequest
AtmosphereRequest is a two-way communication channel between the
client and the server. If the isDestroyable() is set to false, or if its
associated AtmosphereResource has been suspended, this object can be re-used at any moment between requests.
You can use its associated AtmosphereResponse to write bytes at any moment, making this object bi-directional.
| Modifier and Type | Class and Description |
|---|---|
static class |
AtmosphereRequestImpl.Body |
static class |
AtmosphereRequestImpl.Builder |
static class |
AtmosphereRequestImpl.LazyComputation |
static class |
AtmosphereRequestImpl.NoOpsRequest |
AtmosphereRequest.LocalAttributes| Modifier and Type | Method and Description |
|---|---|
AtmosphereRequest.LocalAttributes |
attributes()
Return the locally added attributes.
|
boolean |
authenticate(jakarta.servlet.http.HttpServletResponse response) |
AtmosphereRequestImpl.Body |
body()
Return the request's body.
|
AtmosphereRequest |
body(byte[] bytes) |
AtmosphereRequest |
body(java.io.InputStream body) |
AtmosphereRequest |
body(java.io.Reader body) |
AtmosphereRequest |
body(java.lang.String body) |
static AtmosphereRequest |
cloneRequest(jakarta.servlet.http.HttpServletRequest request,
boolean loadInMemory,
boolean copySession,
boolean isDestroyable,
boolean createSession)
Copy the HttpServletRequest content inside an AtmosphereRequest.
|
AtmosphereRequest |
contentType(java.lang.String m) |
AtmosphereRequest |
contextPath(java.lang.String contextPath) |
void |
destroy() |
void |
destroy(boolean force) |
AtmosphereRequest |
destroyable(boolean destroyable) |
boolean |
destroyed() |
boolean |
dispatchRequestAsynchronously()
Dispatch the request asynchronously to container.
|
jakarta.servlet.AsyncContext |
getAsyncContext() |
java.lang.Object |
getAttribute(java.lang.String s) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
java.lang.String |
getAuthType() |
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.lang.String |
getContextPath() |
jakarta.servlet.http.Cookie[] |
getCookies() |
long |
getDateHeader(java.lang.String name) |
jakarta.servlet.DispatcherType |
getDispatcherType() |
java.lang.String |
getHeader(java.lang.String s) |
java.lang.String |
getHeader(java.lang.String s,
boolean checkCase) |
java.util.Enumeration<java.lang.String> |
getHeaderNames() |
java.util.Enumeration |
getHeaders(java.lang.String name) |
jakarta.servlet.ServletInputStream |
getInputStream() |
int |
getIntHeader(java.lang.String name) |
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 s) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Enumeration<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String s) |
jakarta.servlet.http.Part |
getPart(java.lang.String name) |
java.util.Collection<jakarta.servlet.http.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 path) |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
java.lang.String |
getRemoteUser() |
jakarta.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String path) |
java.lang.String |
getRequestedSessionId() |
java.lang.String |
getRequestURI() |
java.lang.StringBuffer |
getRequestURL() |
java.lang.String |
getScheme() |
java.lang.String |
getServerName() |
int |
getServerPort() |
jakarta.servlet.ServletContext |
getServletContext() |
java.lang.String |
getServletPath() |
jakarta.servlet.http.HttpSession |
getSession() |
jakarta.servlet.http.HttpSession |
getSession(boolean create) |
java.security.Principal |
getUserPrincipal() |
AtmosphereRequest |
header(java.lang.String name,
java.lang.String value)
Add a header.
|
AtmosphereRequest |
headers(java.util.Map<java.lang.String,java.lang.String> headers)
Add all headers contained within the Map.
|
java.util.Map<java.lang.String,java.lang.String> |
headersMap() |
boolean |
isAsyncStarted() |
boolean |
isAsyncSupported() |
boolean |
isDestroyable()
Cjeck if this object can be destroyed.
|
boolean |
isRequestedSessionIdFromCookie() |
boolean |
isRequestedSessionIdFromUrl() |
boolean |
isRequestedSessionIdFromURL() |
boolean |
isRequestedSessionIdValid() |
boolean |
isSecure() |
boolean |
isUserInRole(java.lang.String role) |
AtmosphereRequest.LocalAttributes |
localAttributes()
Return a subset of the attributes set on this AtmosphereRequest, set locally by the framework or by an application.
|
void |
login(java.lang.String username,
java.lang.String password) |
void |
logout() |
AtmosphereRequest |
method(java.lang.String m) |
static AtmosphereRequest |
newInstance()
Create an instance of this class without an associated
HttpServletRequest. |
AtmosphereRequest |
pathInfo(java.lang.String pathInfo) |
AtmosphereRequest |
queryString(java.lang.String qs)
Set the query string.
|
java.util.Map<java.lang.String,java.lang.String[]> |
queryStringsMap() |
void |
removeAttribute(java.lang.String name) |
AtmosphereRequest |
requestURI(java.lang.String requestURI) |
java.lang.String |
requestURL() |
AtmosphereResource |
resource()
The
AtmosphereResource associated with this request. |
AtmosphereRequest |
servletPath(java.lang.String servletPath) |
void |
setAttribute(java.lang.String s,
java.lang.Object o) |
void |
setCharacterEncoding(java.lang.String env) |
void |
setRequest(jakarta.servlet.ServletRequest request) |
jakarta.servlet.AsyncContext |
startAsync() |
jakarta.servlet.AsyncContext |
startAsync(jakarta.servlet.ServletRequest request,
jakarta.servlet.ServletResponse response) |
java.lang.String |
toString() |
java.lang.String |
uuid()
Return the underlying
AtmosphereResource.uuid(). |
static AtmosphereRequest |
wrap(jakarta.servlet.http.HttpServletRequest request)
Wrap an
HttpServletRequest. |
jakarta.servlet.http.HttpServletRequest |
wrappedRequest() |
changeSessionId, getHttpServletMapping, getTrailerFields, isTrailerFieldsReady, newPushBuilder, upgradegetContentLengthLong, getRequest, isWrapperFor, isWrapperForclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic boolean destroyed()
destroyed in interface AtmosphereRequestpublic AtmosphereRequest destroyable(boolean destroyable)
destroyable in interface AtmosphereRequestpublic java.lang.String getPathInfo()
AtmosphereRequestgetPathInfo in interface jakarta.servlet.http.HttpServletRequestgetPathInfo in interface AtmosphereRequestgetPathInfo in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getPathTranslated()
AtmosphereRequestgetPathTranslated in interface jakarta.servlet.http.HttpServletRequestgetPathTranslated in interface AtmosphereRequestgetPathTranslated in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getQueryString()
AtmosphereRequestgetQueryString in interface jakarta.servlet.http.HttpServletRequestgetQueryString in interface AtmosphereRequestgetQueryString in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getRemoteUser()
AtmosphereRequestgetRemoteUser in interface jakarta.servlet.http.HttpServletRequestgetRemoteUser in interface AtmosphereRequestgetRemoteUser in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getRequestedSessionId()
AtmosphereRequestgetRequestedSessionId in interface jakarta.servlet.http.HttpServletRequestgetRequestedSessionId in interface AtmosphereRequestgetRequestedSessionId in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getMethod()
AtmosphereRequestgetMethod in interface jakarta.servlet.http.HttpServletRequestgetMethod in interface AtmosphereRequestgetMethod in class jakarta.servlet.http.HttpServletRequestWrapperpublic jakarta.servlet.http.Part getPart(java.lang.String name)
throws java.io.IOException,
jakarta.servlet.ServletException
AtmosphereRequestgetPart in interface jakarta.servlet.http.HttpServletRequestgetPart in interface AtmosphereRequestgetPart in class jakarta.servlet.http.HttpServletRequestWrapperjava.io.IOExceptionjakarta.servlet.ServletExceptionpublic java.util.Collection<jakarta.servlet.http.Part> getParts()
throws java.io.IOException,
jakarta.servlet.ServletException
AtmosphereRequestgetParts in interface jakarta.servlet.http.HttpServletRequestgetParts in interface AtmosphereRequestgetParts in class jakarta.servlet.http.HttpServletRequestWrapperjava.io.IOExceptionjakarta.servlet.ServletExceptionpublic java.lang.String getContentType()
AtmosphereRequestgetContentType in interface jakarta.servlet.ServletRequestgetContentType in interface AtmosphereRequestgetContentType in class jakarta.servlet.ServletRequestWrapperpublic jakarta.servlet.DispatcherType getDispatcherType()
AtmosphereRequestgetDispatcherType in interface jakarta.servlet.ServletRequestgetDispatcherType in interface AtmosphereRequestgetDispatcherType in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getServletPath()
AtmosphereRequestgetServletPath in interface jakarta.servlet.http.HttpServletRequestgetServletPath in interface AtmosphereRequestgetServletPath in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getRequestURI()
AtmosphereRequestgetRequestURI in interface jakarta.servlet.http.HttpServletRequestgetRequestURI in interface AtmosphereRequestgetRequestURI in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.StringBuffer getRequestURL()
AtmosphereRequestgetRequestURL in interface jakarta.servlet.http.HttpServletRequestgetRequestURL in interface AtmosphereRequestgetRequestURL in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.util.Enumeration getHeaders(java.lang.String name)
AtmosphereRequestgetHeaders in interface jakarta.servlet.http.HttpServletRequestgetHeaders in interface AtmosphereRequestgetHeaders in class jakarta.servlet.http.HttpServletRequestWrapperpublic int getIntHeader(java.lang.String name)
AtmosphereRequestgetIntHeader in interface jakarta.servlet.http.HttpServletRequestgetIntHeader in interface AtmosphereRequestgetIntHeader in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.util.Enumeration<java.lang.String> getHeaderNames()
AtmosphereRequestgetHeaderNames in interface jakarta.servlet.http.HttpServletRequestgetHeaderNames in interface AtmosphereRequestgetHeaderNames in class jakarta.servlet.http.HttpServletRequestWrapperpublic boolean authenticate(jakarta.servlet.http.HttpServletResponse response)
throws java.io.IOException,
jakarta.servlet.ServletException
AtmosphereRequestauthenticate in interface jakarta.servlet.http.HttpServletRequestauthenticate in interface AtmosphereRequestauthenticate in class jakarta.servlet.http.HttpServletRequestWrapperjava.io.IOExceptionjakarta.servlet.ServletExceptionpublic java.lang.String getAuthType()
AtmosphereRequestgetAuthType in interface jakarta.servlet.http.HttpServletRequestgetAuthType in interface AtmosphereRequestgetAuthType in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getContextPath()
AtmosphereRequestgetContextPath in interface jakarta.servlet.http.HttpServletRequestgetContextPath in interface AtmosphereRequestgetContextPath in class jakarta.servlet.http.HttpServletRequestWrapperpublic jakarta.servlet.http.Cookie[] getCookies()
AtmosphereRequestgetCookies in interface jakarta.servlet.http.HttpServletRequestgetCookies in interface AtmosphereRequestgetCookies in class jakarta.servlet.http.HttpServletRequestWrapperpublic long getDateHeader(java.lang.String name)
AtmosphereRequestgetDateHeader in interface jakarta.servlet.http.HttpServletRequestgetDateHeader in interface AtmosphereRequestgetDateHeader in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.lang.String getHeader(java.lang.String s)
AtmosphereRequestgetHeader in interface jakarta.servlet.http.HttpServletRequestgetHeader in interface AtmosphereRequestgetHeader in class jakarta.servlet.http.HttpServletRequestWrapperpublic jakarta.servlet.http.HttpServletRequest wrappedRequest()
wrappedRequest in interface AtmosphereRequestpublic java.lang.String getHeader(java.lang.String s,
boolean checkCase)
getHeader in interface AtmosphereRequestpublic java.lang.String getParameter(java.lang.String s)
AtmosphereRequestgetParameter in interface jakarta.servlet.ServletRequestgetParameter in interface AtmosphereRequestgetParameter in class jakarta.servlet.ServletRequestWrapperpublic java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
AtmosphereRequestgetParameterMap in interface jakarta.servlet.ServletRequestgetParameterMap in interface AtmosphereRequestgetParameterMap in class jakarta.servlet.ServletRequestWrapperpublic java.util.Enumeration<java.lang.String> getParameterNames()
AtmosphereRequestgetParameterNames in interface jakarta.servlet.ServletRequestgetParameterNames in interface AtmosphereRequestgetParameterNames in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String[] getParameterValues(java.lang.String s)
AtmosphereRequestgetParameterValues in interface jakarta.servlet.ServletRequestgetParameterValues in interface AtmosphereRequestgetParameterValues in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getProtocol()
AtmosphereRequestgetProtocol in interface jakarta.servlet.ServletRequestgetProtocol in interface AtmosphereRequestgetProtocol in class jakarta.servlet.ServletRequestWrapperpublic jakarta.servlet.ServletInputStream getInputStream()
throws java.io.IOException
AtmosphereRequestgetInputStream in interface jakarta.servlet.ServletRequestgetInputStream in interface AtmosphereRequestgetInputStream in class jakarta.servlet.ServletRequestWrapperjava.io.IOExceptionpublic java.io.BufferedReader getReader()
throws java.io.IOException
AtmosphereRequestgetReader in interface jakarta.servlet.ServletRequestgetReader in interface AtmosphereRequestgetReader in class jakarta.servlet.ServletRequestWrapperjava.io.IOExceptionpublic java.lang.String getRealPath(java.lang.String path)
AtmosphereRequestgetRealPath in interface jakarta.servlet.ServletRequestgetRealPath in interface AtmosphereRequestgetRealPath in class jakarta.servlet.ServletRequestWrapperpublic AtmosphereRequest headers(java.util.Map<java.lang.String,java.lang.String> headers)
AtmosphereRequestheaders in interface AtmosphereRequestpublic AtmosphereRequest header(java.lang.String name, java.lang.String value)
AtmosphereRequestheader in interface AtmosphereRequestpublic AtmosphereRequest queryString(java.lang.String qs)
AtmosphereRequestqueryString in interface AtmosphereRequestpublic java.util.Map<java.lang.String,java.lang.String> headersMap()
headersMap in interface AtmosphereRequestpublic java.util.Map<java.lang.String,java.lang.String[]> queryStringsMap()
queryStringsMap in interface AtmosphereRequestpublic AtmosphereRequest method(java.lang.String m)
method in interface AtmosphereRequestpublic AtmosphereRequest contentType(java.lang.String m)
contentType in interface AtmosphereRequestpublic AtmosphereRequest body(java.lang.String body)
body in interface AtmosphereRequestpublic AtmosphereRequest body(byte[] bytes)
body in interface AtmosphereRequestpublic AtmosphereRequest body(java.io.InputStream body)
body in interface AtmosphereRequestpublic AtmosphereRequest body(java.io.Reader body)
body in interface AtmosphereRequestpublic AtmosphereRequestImpl.Body body()
AtmosphereRequestbody in interface AtmosphereRequestpublic AtmosphereRequest servletPath(java.lang.String servletPath)
servletPath in interface AtmosphereRequestpublic AtmosphereRequest contextPath(java.lang.String contextPath)
contextPath in interface AtmosphereRequestpublic AtmosphereRequest requestURI(java.lang.String requestURI)
requestURI in interface AtmosphereRequestpublic void setAttribute(java.lang.String s,
java.lang.Object o)
AtmosphereRequestsetAttribute in interface jakarta.servlet.ServletRequestsetAttribute in interface AtmosphereRequestsetAttribute in class jakarta.servlet.ServletRequestWrapperpublic void setCharacterEncoding(java.lang.String env)
throws java.io.UnsupportedEncodingException
AtmosphereRequestsetCharacterEncoding in interface jakarta.servlet.ServletRequestsetCharacterEncoding in interface AtmosphereRequestsetCharacterEncoding in class jakarta.servlet.ServletRequestWrapperjava.io.UnsupportedEncodingExceptionpublic jakarta.servlet.AsyncContext startAsync()
AtmosphereRequeststartAsync in interface jakarta.servlet.ServletRequeststartAsync in interface AtmosphereRequeststartAsync in class jakarta.servlet.ServletRequestWrapperpublic jakarta.servlet.AsyncContext startAsync(jakarta.servlet.ServletRequest request,
jakarta.servlet.ServletResponse response)
AtmosphereRequeststartAsync in interface jakarta.servlet.ServletRequeststartAsync in interface AtmosphereRequeststartAsync in class jakarta.servlet.ServletRequestWrapperpublic jakarta.servlet.AsyncContext getAsyncContext()
AtmosphereRequestgetAsyncContext in interface jakarta.servlet.ServletRequestgetAsyncContext in interface AtmosphereRequestgetAsyncContext in class jakarta.servlet.ServletRequestWrapperpublic java.lang.Object getAttribute(java.lang.String s)
AtmosphereRequestgetAttribute in interface jakarta.servlet.ServletRequestgetAttribute in interface AtmosphereRequestgetAttribute in class jakarta.servlet.ServletRequestWrapperpublic void removeAttribute(java.lang.String name)
AtmosphereRequestremoveAttribute in interface jakarta.servlet.ServletRequestremoveAttribute in interface AtmosphereRequestremoveAttribute in class jakarta.servlet.ServletRequestWrapperpublic AtmosphereRequest.LocalAttributes attributes()
AtmosphereRequestattributes in interface AtmosphereRequestpublic jakarta.servlet.http.HttpSession getSession()
AtmosphereRequestgetSession in interface jakarta.servlet.http.HttpServletRequestgetSession in interface AtmosphereRequestgetSession in class jakarta.servlet.http.HttpServletRequestWrapperpublic jakarta.servlet.http.HttpSession getSession(boolean create)
AtmosphereRequestgetSession in interface jakarta.servlet.http.HttpServletRequestgetSession in interface AtmosphereRequestgetSession in class jakarta.servlet.http.HttpServletRequestWrapperpublic java.security.Principal getUserPrincipal()
AtmosphereRequestgetUserPrincipal in interface jakarta.servlet.http.HttpServletRequestgetUserPrincipal in interface AtmosphereRequestgetUserPrincipal in class jakarta.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromCookie()
AtmosphereRequestisRequestedSessionIdFromCookie in interface jakarta.servlet.http.HttpServletRequestisRequestedSessionIdFromCookie in interface AtmosphereRequestisRequestedSessionIdFromCookie in class jakarta.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromUrl()
AtmosphereRequestisRequestedSessionIdFromUrl in interface jakarta.servlet.http.HttpServletRequestisRequestedSessionIdFromUrl in interface AtmosphereRequestisRequestedSessionIdFromUrl in class jakarta.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdFromURL()
AtmosphereRequestisRequestedSessionIdFromURL in interface jakarta.servlet.http.HttpServletRequestisRequestedSessionIdFromURL in interface AtmosphereRequestisRequestedSessionIdFromURL in class jakarta.servlet.http.HttpServletRequestWrapperpublic boolean isRequestedSessionIdValid()
AtmosphereRequestisRequestedSessionIdValid in interface jakarta.servlet.http.HttpServletRequestisRequestedSessionIdValid in interface AtmosphereRequestisRequestedSessionIdValid in class jakarta.servlet.http.HttpServletRequestWrapperpublic boolean isUserInRole(java.lang.String role)
AtmosphereRequestisUserInRole in interface jakarta.servlet.http.HttpServletRequestisUserInRole in interface AtmosphereRequestisUserInRole in class jakarta.servlet.http.HttpServletRequestWrapperpublic void login(java.lang.String username,
java.lang.String password)
throws jakarta.servlet.ServletException
AtmosphereRequestlogin in interface jakarta.servlet.http.HttpServletRequestlogin in interface AtmosphereRequestlogin in class jakarta.servlet.http.HttpServletRequestWrapperjakarta.servlet.ServletExceptionpublic void logout()
throws jakarta.servlet.ServletException
AtmosphereRequestlogout in interface jakarta.servlet.http.HttpServletRequestlogout in interface AtmosphereRequestlogout in class jakarta.servlet.http.HttpServletRequestWrapperjakarta.servlet.ServletExceptionpublic java.lang.String getRemoteAddr()
AtmosphereRequestgetRemoteAddr in interface jakarta.servlet.ServletRequestgetRemoteAddr in interface AtmosphereRequestgetRemoteAddr in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getRemoteHost()
AtmosphereRequestgetRemoteHost in interface jakarta.servlet.ServletRequestgetRemoteHost in interface AtmosphereRequestgetRemoteHost in class jakarta.servlet.ServletRequestWrapperpublic int getRemotePort()
AtmosphereRequestgetRemotePort in interface jakarta.servlet.ServletRequestgetRemotePort in interface AtmosphereRequestgetRemotePort in class jakarta.servlet.ServletRequestWrapperpublic jakarta.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
AtmosphereRequestgetRequestDispatcher in interface jakarta.servlet.ServletRequestgetRequestDispatcher in interface AtmosphereRequestgetRequestDispatcher in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getScheme()
AtmosphereRequestgetScheme in interface jakarta.servlet.ServletRequestgetScheme in interface AtmosphereRequestgetScheme in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getServerName()
AtmosphereRequestgetServerName in interface jakarta.servlet.ServletRequestgetServerName in interface AtmosphereRequestgetServerName in class jakarta.servlet.ServletRequestWrapperpublic int getServerPort()
AtmosphereRequestgetServerPort in interface jakarta.servlet.ServletRequestgetServerPort in interface AtmosphereRequestgetServerPort in class jakarta.servlet.ServletRequestWrapperpublic jakarta.servlet.ServletContext getServletContext()
AtmosphereRequestgetServletContext in interface jakarta.servlet.ServletRequestgetServletContext in interface AtmosphereRequestgetServletContext in class jakarta.servlet.ServletRequestWrapperpublic boolean isAsyncStarted()
AtmosphereRequestisAsyncStarted in interface jakarta.servlet.ServletRequestisAsyncStarted in interface AtmosphereRequestisAsyncStarted in class jakarta.servlet.ServletRequestWrapperpublic boolean isAsyncSupported()
AtmosphereRequestisAsyncSupported in interface jakarta.servlet.ServletRequestisAsyncSupported in interface AtmosphereRequestisAsyncSupported in class jakarta.servlet.ServletRequestWrapperpublic boolean isSecure()
AtmosphereRequestisSecure in interface jakarta.servlet.ServletRequestisSecure in interface AtmosphereRequestisSecure in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getLocalName()
AtmosphereRequestgetLocalName in interface jakarta.servlet.ServletRequestgetLocalName in interface AtmosphereRequestgetLocalName in class jakarta.servlet.ServletRequestWrapperpublic int getLocalPort()
AtmosphereRequestgetLocalPort in interface jakarta.servlet.ServletRequestgetLocalPort in interface AtmosphereRequestgetLocalPort in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String getLocalAddr()
AtmosphereRequestgetLocalAddr in interface jakarta.servlet.ServletRequestgetLocalAddr in interface AtmosphereRequestgetLocalAddr in class jakarta.servlet.ServletRequestWrapperpublic java.util.Locale getLocale()
AtmosphereRequestgetLocale in interface jakarta.servlet.ServletRequestgetLocale in interface AtmosphereRequestgetLocale in class jakarta.servlet.ServletRequestWrapperpublic AtmosphereResource resource()
AtmosphereRequestAtmosphereResource associated with this request.resource in interface AtmosphereRequestAtmosphereResourcepublic java.util.Enumeration<java.util.Locale> getLocales()
AtmosphereRequestgetLocales in interface jakarta.servlet.ServletRequestgetLocales in interface AtmosphereRequestgetLocales in class jakarta.servlet.ServletRequestWrapperpublic boolean dispatchRequestAsynchronously()
AtmosphereRequestdispatchRequestAsynchronously in interface AtmosphereRequestpublic boolean isDestroyable()
AtmosphereRequestisDestroyable in interface AtmosphereRequestpublic AtmosphereRequest pathInfo(java.lang.String pathInfo)
pathInfo in interface AtmosphereRequestpublic java.util.Enumeration<java.lang.String> getAttributeNames()
AtmosphereRequestgetAttributeNames in interface jakarta.servlet.ServletRequestgetAttributeNames in interface AtmosphereRequestgetAttributeNames in class jakarta.servlet.ServletRequestWrapperpublic AtmosphereRequest.LocalAttributes localAttributes()
AtmosphereRequestlocalAttributes in interface AtmosphereRequestpublic java.lang.String getCharacterEncoding()
AtmosphereRequestgetCharacterEncoding in interface jakarta.servlet.ServletRequestgetCharacterEncoding in interface AtmosphereRequestgetCharacterEncoding in class jakarta.servlet.ServletRequestWrapperpublic int getContentLength()
AtmosphereRequestgetContentLength in interface jakarta.servlet.ServletRequestgetContentLength in interface AtmosphereRequestgetContentLength in class jakarta.servlet.ServletRequestWrapperpublic java.lang.String uuid()
AtmosphereRequestAtmosphereResource.uuid(). May return "0" if no AtmosphereResource
is associated with this object.uuid in interface AtmosphereRequestAtmosphereResource.uuid()public void destroy()
destroy in interface AtmosphereRequestpublic void destroy(boolean force)
destroy in interface AtmosphereRequestpublic void setRequest(jakarta.servlet.ServletRequest request)
AtmosphereRequestsetRequest in interface AtmosphereRequestsetRequest in class jakarta.servlet.ServletRequestWrapperpublic static final AtmosphereRequest newInstance()
HttpServletRequest.HttpServletRequestpublic static final AtmosphereRequest wrap(jakarta.servlet.http.HttpServletRequest request)
HttpServletRequest.request - HttpServletRequestAtmosphereRequestpublic static final AtmosphereRequest cloneRequest(jakarta.servlet.http.HttpServletRequest request, boolean loadInMemory, boolean copySession, boolean isDestroyable, boolean createSession)
request - HttpServletRequestAtmosphereRequestpublic java.lang.String toString()
toString in interface AtmosphereRequesttoString in class java.lang.Objectpublic java.lang.String requestURL()
requestURL in interface AtmosphereRequestCopyright © 2022. All Rights Reserved.