public class ServletApiAbstraction extends ApiAbstraction implements Service
ApiAbstraction.Dummy, ApiAbstraction.DummyAnnotation, ApiAbstraction.DummyEnum
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_CONTEXT_CLASS_NAME |
Constructor and Description |
---|
ServletApiAbstraction(ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
boolean |
isAsyncStarted(ServletRequest request)
Evaluates javax.servlet.ServletRequest#isAsyncStarted() method on given ServletRequest instance via reflection api.
|
boolean |
isAsyncSupported()
Indicates, whether the version of Servlet API is available that has support for async processing (Servlet 3.0 and better)
|
annotationTypeForName, classForName, enumValue
public static final String SERVLET_CONTEXT_CLASS_NAME
public ServletApiAbstraction(ResourceLoader resourceLoader)
public boolean isAsyncSupported()
public boolean isAsyncStarted(ServletRequest request)
request
- Copyright © 2015. All Rights Reserved.