Package com.helger.servlet.async
Class ExtAsyncContext
- java.lang.Object
-
- com.helger.servlet.async.ExtAsyncContext
-
public class ExtAsyncContext extends Object
ExtendedAsyncContexttype.- Since:
- 8.8.0
- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description ExtAsyncContext(jakarta.servlet.AsyncContext aAsyncContext, com.helger.http.EHttpVersion eHttpVersion, com.helger.commons.http.EHttpMethod eHttpMethod, String sContextPath, String sPathInfo, String sQueryString, String sRequestURI, String sServletPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete()static ExtAsyncContextcreate(jakarta.servlet.http.HttpServletRequest aHttpRequest, jakarta.servlet.http.HttpServletResponse aHttpResponse, com.helger.http.EHttpVersion eHttpVersion, com.helger.commons.http.EHttpMethod eHttpMethod, ServletAsyncSpec aAsyncSpec)protected jakarta.servlet.AsyncContextgetAsyncContext()com.helger.commons.http.EHttpMethodgetHTTPMethod()com.helger.http.EHttpVersiongetHTTPVersion()jakarta.servlet.http.HttpServletRequestgetRequest()jakarta.servlet.http.HttpServletResponsegetResponse()voidstart(Runnable r)
-
-
-
Constructor Detail
-
ExtAsyncContext
public ExtAsyncContext(@Nonnull jakarta.servlet.AsyncContext aAsyncContext, @Nonnull com.helger.http.EHttpVersion eHttpVersion, @Nonnull com.helger.commons.http.EHttpMethod eHttpMethod, @Nullable String sContextPath, @Nullable String sPathInfo, @Nullable String sQueryString, @Nullable String sRequestURI, @Nullable String sServletPath)
-
-
Method Detail
-
getAsyncContext
@Nonnull protected jakarta.servlet.AsyncContext getAsyncContext()
-
getHTTPVersion
@Nonnull public com.helger.http.EHttpVersion getHTTPVersion()
-
getHTTPMethod
@Nonnull public com.helger.commons.http.EHttpMethod getHTTPMethod()
-
getRequest
@Nonnull public jakarta.servlet.http.HttpServletRequest getRequest()
-
getResponse
@Nonnull public jakarta.servlet.http.HttpServletResponse getResponse()
-
complete
public void complete()
-
create
@Nonnull public static ExtAsyncContext create(@Nonnull jakarta.servlet.http.HttpServletRequest aHttpRequest, @Nonnull jakarta.servlet.http.HttpServletResponse aHttpResponse, @Nonnull com.helger.http.EHttpVersion eHttpVersion, @Nonnull com.helger.commons.http.EHttpMethod eHttpMethod, @Nonnull ServletAsyncSpec aAsyncSpec)
-
-