public class ServletApiAbstraction extends ApiAbstraction implements org.jboss.weld.bootstrap.api.Service
ApiAbstraction.Dummy, ApiAbstraction.DummyAnnotation, ApiAbstraction.DummyEnum
Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_CONTEXT_CLASS_NAME |
Constructor and Description |
---|
ServletApiAbstraction(org.jboss.weld.resources.spi.ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
boolean |
isAsyncStarted(javax.servlet.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(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
public boolean isAsyncSupported()
public boolean isAsyncStarted(javax.servlet.ServletRequest request)
request
- public void cleanup()
cleanup
in interface org.jboss.weld.bootstrap.api.Service
Copyright © 2016. All rights reserved.