Package | Description |
---|---|
org.eclipse.jetty.annotations |
Jetty Annotations : Support for Servlet Annotations
|
org.eclipse.jetty.ant |
Jetty Ant : Ant Tasks and Configuration
|
org.eclipse.jetty.cdi.servlet | |
org.eclipse.jetty.deploy.providers |
Jetty Deploy : Webapp Deployment Providers
|
org.eclipse.jetty.maven.plugin |
Jetty Maven Plugin : Support for Jetty in Maven build lifecycle
|
org.eclipse.jetty.plus.annotation |
Jetty Plus : Limited JEE Annotation Support
|
org.eclipse.jetty.plus.webapp |
Jetty Plus : Limited Additional JEE Webapp Support
|
org.eclipse.jetty.quickstart | |
org.eclipse.jetty.server.session |
Jetty Server : Session Management Implementations
|
org.eclipse.jetty.webapp |
Jetty Util : Modular Web Application Support
|
Modifier and Type | Field and Description |
---|---|
protected WebAppContext |
RunAsAnnotationHandler._context |
protected WebAppContext |
ResourceAnnotationHandler._context |
protected WebAppContext |
PostConstructAnnotationHandler._context |
protected WebAppContext |
MultiPartConfigAnnotationHandler._context |
protected WebAppContext |
DeclareRolesAnnotationHandler._context |
protected WebAppContext |
AbstractDiscoverableAnnotationHandler._context |
protected WebAppContext |
ResourcesAnnotationHandler._wac |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationConfiguration.cloneConfigure(WebAppContext template,
WebAppContext context) |
void |
AnnotationConfiguration.configure(WebAppContext context) |
void |
AnnotationConfiguration.createServletContainerInitializerAnnotationHandlers(WebAppContext context,
List<ServletContainerInitializer> scis) |
void |
AnnotationConfiguration.deconfigure(WebAppContext context) |
AnnotationConfiguration.ServletContainerInitializerOrdering |
AnnotationConfiguration.getInitializerOrdering(WebAppContext context)
Jetty-specific extension that allows an ordering to be applied across ALL ServletContainerInitializers.
|
protected int |
AnnotationConfiguration.getMaxScanWait(WebAppContext context)
Work out how long we should wait for the async scanning to occur.
|
List<ServletContainerInitializer> |
AnnotationConfiguration.getNonExcludedInitializers(WebAppContext context)
Get SCIs that are not excluded from consideration
|
boolean |
AnnotationConfiguration.isFromContainerClassPath(WebAppContext context,
ServletContainerInitializer sci)
Test if the ServletContainerInitializer is from the container classpath
|
boolean |
AnnotationConfiguration.isFromExcludedJar(WebAppContext context,
ServletContainerInitializer sci,
Resource sciResource)
Check to see if the ServletContainerIntializer loaded via the ServiceLoader came
from a jar that is excluded by the fragment ordering.
|
protected boolean |
AnnotationConfiguration.isUseMultiThreading(WebAppContext context)
Check if we should use multiple threads to scan for annotations or not
|
void |
AnnotationConfiguration.parseContainerPath(WebAppContext context,
AnnotationParser parser)
Scan jars on container path.
|
void |
AnnotationConfiguration.parseWebInfClasses(WebAppContext context,
AnnotationParser parser)
Scan classes in WEB-INF/classes
|
void |
AnnotationConfiguration.parseWebInfLib(WebAppContext context,
AnnotationParser parser)
Scan jars in WEB-INF/lib
|
void |
AnnotationConfiguration.postConfigure(WebAppContext context) |
void |
AnnotationConfiguration.preConfigure(WebAppContext context) |
void |
AnnotationDecorator.registerHandlers(WebAppContext context) |
protected void |
AnnotationConfiguration.scanForAnnotations(WebAppContext context)
Perform scanning of classes for annotations
|
Modifier and Type | Class and Description |
---|---|
class |
AntWebAppContext
Extension of WebAppContext to allow configuration via Ant environment.
|
Modifier and Type | Method and Description |
---|---|
void |
AntWebInfConfiguration.configure(WebAppContext context)
Adds classpath files into web application classloader, and
sets web.xml and base directory for the configured web application.
|
void |
AntWebInfConfiguration.preConfigure(WebAppContext context) |
Modifier and Type | Method and Description |
---|---|
static void |
JettyWeldInitializer.initWebApp(WebAppContext webapp)
Initialize WebAppContext to support CDI/Weld.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebAppProvider.initializeWebAppContextDefaults(WebAppContext webapp) |
Modifier and Type | Class and Description |
---|---|
class |
JettyWebAppContext
JettyWebAppContext
Extends the WebAppContext to specialize for the maven environment.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServerSupport.addWebApplication(Server server,
WebAppContext webapp) |
void |
MavenWebInfConfiguration.configure(WebAppContext context) |
void |
MavenQuickStartConfiguration.configure(WebAppContext context) |
void |
MavenWebInfConfiguration.deconfigure(WebAppContext context) |
void |
MavenQuickStartConfiguration.deconfigure(WebAppContext context) |
protected List<Resource> |
MavenWebInfConfiguration.findClassDirs(WebAppContext context)
Add in the classes dirs from test/classes and target/classes
|
protected List<Resource> |
MavenWebInfConfiguration.findJars(WebAppContext context)
Get the jars to examine from the files from which we have
synthesized the classpath.
|
Resource |
MavenQuickStartConfiguration.getQuickStartWebXml(WebAppContext context) |
void |
MavenWebInfConfiguration.postConfigure(WebAppContext context) |
void |
MavenWebInfConfiguration.preConfigure(WebAppContext context) |
void |
MavenQuickStartConfiguration.preConfigure(WebAppContext context) |
void |
MavenWebInfConfiguration.unpack(WebAppContext context) |
protected Resource |
MavenWebInfConfiguration.unpackOverlay(WebAppContext context,
Overlay overlay) |
Modifier and Type | Method and Description |
---|---|
void |
ContainerInitializer.callStartup(WebAppContext context) |
void |
ContainerInitializer.resolveClasses(WebAppContext context,
Map<String,Set<String>> classMap) |
Modifier and Type | Field and Description |
---|---|
protected WebAppContext |
PlusDecorator._context |
Modifier and Type | Method and Description |
---|---|
void |
PlusDescriptorProcessor.addInjections(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node,
String jndiName,
Class<?> valueClass)
Iterate over the
<injection-target> entries for a node |
protected void |
PlusDescriptorProcessor.bindEntry(WebAppContext context,
String name,
Class<?> typeClass)
Bind a resource with the given name from web.xml of the given type
with a jndi resource from either the server or the webapp's naming
environment.
|
void |
EnvConfiguration.bindEnvEntries(WebAppContext context)
Bind all EnvEntries that have been declared, so that the processing of the
web.xml file can potentially override them.
|
void |
PlusDescriptorProcessor.bindMessageDestinationRef(WebAppContext context,
String name,
Class<?> typeClass) |
void |
PlusDescriptorProcessor.bindResourceEnvRef(WebAppContext context,
String name,
Class<?> typeClass) |
void |
PlusDescriptorProcessor.bindResourceRef(WebAppContext context,
String name,
Class<?> typeClass)
Bind a resource reference.
|
void |
PlusConfiguration.bindUserTransaction(WebAppContext context) |
void |
PlusConfiguration.cloneConfigure(WebAppContext template,
WebAppContext context) |
void |
PlusConfiguration.configure(WebAppContext context) |
void |
EnvConfiguration.configure(WebAppContext context) |
protected void |
EnvConfiguration.createEnvContext(WebAppContext wac) |
void |
PlusConfiguration.deconfigure(WebAppContext context) |
void |
EnvConfiguration.deconfigure(WebAppContext context)
Remove jndi setup from start
|
void |
EnvConfiguration.destroy(WebAppContext context)
Remove all jndi setup
|
void |
PlusDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
protected void |
PlusConfiguration.lockCompEnv(WebAppContext wac) |
void |
PlusConfiguration.postConfigure(WebAppContext context) |
void |
PlusConfiguration.preConfigure(WebAppContext context) |
void |
EnvConfiguration.preConfigure(WebAppContext context) |
void |
PlusDescriptorProcessor.start(WebAppContext context,
Descriptor descriptor) |
protected void |
PlusConfiguration.unlockCompEnv(WebAppContext wac) |
void |
PlusDescriptorProcessor.visitEnvEntry(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
JavaEE 5.4.1.3
|
void |
PlusDescriptorProcessor.visitMessageDestinationRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
Common Annotations Spec section 2.3:
|
void |
PlusDescriptorProcessor.visitPostConstruct(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
If web.xml has at least 1 post-construct, then all post-constructs in fragments
are ignored.
|
void |
PlusDescriptorProcessor.visitPreDestroy(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
pre-destroy is the name of a class and method to call just as
the instance is being destroyed
|
void |
PlusDescriptorProcessor.visitResourceEnvRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
Common Annotations Spec section 2.3:
|
void |
PlusDescriptorProcessor.visitResourceRef(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
Common Annotations Spec section 2.3:
|
Constructor and Description |
---|
PlusDecorator(WebAppContext context) |
Modifier and Type | Class and Description |
---|---|
class |
QuickStartWebApp
QuickStartWar
|
Modifier and Type | Field and Description |
---|---|
protected WebAppContext |
QuickStartDescriptorGenerator._webApp |
Modifier and Type | Method and Description |
---|---|
void |
QuickStartConfiguration.configure(WebAppContext context) |
void |
QuickStartDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
void |
PreconfigureDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
Resource |
QuickStartConfiguration.getQuickStartWebXml(WebAppContext context)
Get the quickstart-web.xml file as a Resource.
|
void |
QuickStartConfiguration.preConfigure(WebAppContext context) |
void |
PreconfigureDescriptorProcessor.saveSnippet(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
QuickStartDescriptorProcessor.start(WebAppContext context,
Descriptor descriptor) |
void |
PreconfigureDescriptorProcessor.start(WebAppContext context,
Descriptor descriptor) |
void |
QuickStartDescriptorProcessor.visitContainerInitializer(WebAppContext context,
ContainerInitializer containerInitializer) |
void |
QuickStartDescriptorProcessor.visitContextParam(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
QuickStartDescriptorProcessor.visitMetaInfResource(WebAppContext context,
Resource dir) |
Constructor and Description |
---|
QuickStartDescriptorGenerator(WebAppContext w,
String extraXML) |
Modifier and Type | Method and Description |
---|---|
WebAppContext |
AbstractTestServer.addWebAppContext(String warPath,
String contextPath) |
Modifier and Type | Field and Description |
---|---|
protected WebAppContext |
DiscoveredAnnotation._context |
Modifier and Type | Method and Description |
---|---|
static WebAppContext |
WebAppContext.getCurrentWebAppContext() |
Modifier and Type | Method and Description |
---|---|
void |
StandardDescriptorProcessor.addFilterMapping(String filterName,
XmlParser.Node node,
WebAppContext context,
Descriptor descriptor) |
ServletMapping |
StandardDescriptorProcessor.addServletMapping(String servletName,
XmlParser.Node node,
WebAppContext context,
Descriptor descriptor) |
void |
StandardDescriptorProcessor.addWelcomeFiles(WebAppContext context,
XmlParser.Node node) |
void |
WebInfConfiguration.cloneConfigure(WebAppContext template,
WebAppContext context) |
void |
Configuration.cloneConfigure(WebAppContext template,
WebAppContext context)
Clone configuration instance.
|
void |
AbstractConfiguration.cloneConfigure(WebAppContext template,
WebAppContext context) |
void |
WebXmlConfiguration.configure(WebAppContext context)
Process web-default.xml, web.xml, override-web.xml
|
void |
WebInfConfiguration.configure(WebAppContext context) |
void |
JettyWebXmlConfiguration.configure(WebAppContext context)
Configure
Apply web-jetty.xml configuration
|
void |
Configuration.configure(WebAppContext context)
Configure WebApp.
|
void |
CloneConfiguration.configure(WebAppContext context) |
void |
AbstractConfiguration.configure(WebAppContext context) |
void |
WebInfConfiguration.configureTempDirectory(File dir,
WebAppContext context) |
void |
WebXmlConfiguration.deconfigure(WebAppContext context) |
void |
WebInfConfiguration.deconfigure(WebAppContext context) |
void |
Configuration.deconfigure(WebAppContext context)
DeConfigure WebApp.
|
void |
CloneConfiguration.deconfigure(WebAppContext context) |
void |
AbstractConfiguration.deconfigure(WebAppContext context) |
void |
Configuration.destroy(WebAppContext context)
Destroy WebApp.
|
void |
AbstractConfiguration.destroy(WebAppContext context) |
void |
StandardDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
abstract void |
IterativeDescriptorProcessor.end(WebAppContext context,
Descriptor descriptor) |
protected List<Resource> |
WebInfConfiguration.findClassDirs(WebAppContext context) |
protected List<Resource> |
WebInfConfiguration.findExtraClasspathDirs(WebAppContext context)
Get class dirs from WebAppContext.getExtraClasspath as resources
|
protected List<Resource> |
WebInfConfiguration.findExtraClasspathJars(WebAppContext context)
Get jars from WebAppContext.getExtraClasspath as resources
|
protected List<Resource> |
WebInfConfiguration.findJars(WebAppContext context)
Look for jars that should be treated as if they are in WEB-INF/lib
|
void |
FragmentConfiguration.findWebFragments(WebAppContext context,
MetaData metaData)
Look for any web-fragment.xml fragments in META-INF of jars in WEB-INF/lib
|
protected Resource |
WebInfConfiguration.findWebInfClassesDir(WebAppContext context)
Get
WEB-INF/classes dir |
protected List<Resource> |
WebInfConfiguration.findWebInfLibJars(WebAppContext context)
Look for jars in
WEB-INF/lib |
protected Resource |
WebXmlConfiguration.findWebXml(WebAppContext context) |
static String |
WebInfConfiguration.getCanonicalNameForWebAppTmpDir(WebAppContext context)
Create a canonical name for a webapp temp directory.
|
void |
WebInfConfiguration.makeTempDirectory(File parent,
WebAppContext context) |
EventListener |
StandardDescriptorProcessor.newListenerInstance(WebAppContext context,
Class<? extends EventListener> clazz) |
void |
MetaInfConfiguration.postConfigure(WebAppContext context) |
void |
FragmentConfiguration.postConfigure(WebAppContext context) |
void |
Configuration.postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
AbstractConfiguration.postConfigure(WebAppContext context) |
void |
WebXmlConfiguration.preConfigure(WebAppContext context) |
void |
WebInfConfiguration.preConfigure(WebAppContext context) |
void |
MetaInfConfiguration.preConfigure(WebAppContext context) |
void |
FragmentConfiguration.preConfigure(WebAppContext context) |
void |
Configuration.preConfigure(WebAppContext context)
Set up for configuration.
|
void |
AbstractConfiguration.preConfigure(WebAppContext context) |
void |
IterativeDescriptorProcessor.process(WebAppContext context,
Descriptor descriptor) |
void |
DescriptorProcessor.process(WebAppContext context,
Descriptor descriptor) |
void |
MetaData.resolve(WebAppContext context)
Resolve all servlet/filter/listener metadata from all sources: descriptors and annotations.
|
void |
WebInfConfiguration.resolveTempDirectory(WebAppContext context)
Get a temporary directory in which to unpack the war etc etc.
|
void |
MetaInfConfiguration.scanForFragment(WebAppContext context,
Resource jar,
ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.
|
void |
MetaInfConfiguration.scanForResources(WebAppContext context,
Resource target,
ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.
|
void |
MetaInfConfiguration.scanForTlds(WebAppContext context,
Resource jar,
ConcurrentHashMap<Resource,Collection<URL>> cache)
Discover META-INF/*.tld files in the given jar
|
void |
MetaInfConfiguration.scanJars(WebAppContext context,
Collection<Resource> jars,
boolean useCaches)
Look into the jars to discover info in META-INF.
|
void |
StandardDescriptorProcessor.start(WebAppContext context,
Descriptor descriptor) |
abstract void |
IterativeDescriptorProcessor.start(WebAppContext context,
Descriptor descriptor) |
void |
WebInfConfiguration.unpack(WebAppContext context) |
protected void |
IterativeDescriptorProcessor.visit(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitContextParam(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitDenyUncoveredHttpMethods(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node)
Servlet spec 3.1.
|
void |
StandardDescriptorProcessor.visitDisplayName(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitDistributable(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitErrorPage(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitFilter(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitFilterMapping(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitJspConfig(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitListener(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitLocaleEncodingList(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitLoginConfig(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitMimeMapping(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitSecurityConstraint(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitSecurityRole(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitServlet(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitServletMapping(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitSessionConfig(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitTagLib(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
void |
StandardDescriptorProcessor.visitWelcomeFileList(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
Constructor and Description |
---|
DiscoveredAnnotation(WebAppContext context,
String className) |
DiscoveredAnnotation(WebAppContext context,
String className,
Resource resource) |
Copyright © 1995-2016 Webtide. All Rights Reserved.