Package | Description |
---|---|
org.eclipse.jetty.annotations |
Jetty Annotations : Support for Servlet Annotations
|
org.eclipse.jetty.deploy.providers |
Jetty Deploy : Webapp Deployment Providers
|
org.eclipse.jetty.http |
Jetty Http : Tools for Http processing
|
org.eclipse.jetty.maven.plugin |
Jetty Maven Plugin : Support for Jetty in Maven build lifecycle
|
org.eclipse.jetty.osgi.annotations | |
org.eclipse.jetty.osgi.boot | |
org.eclipse.jetty.osgi.boot.internal.serverfactory | |
org.eclipse.jetty.quickstart | |
org.eclipse.jetty.runner |
Jetty Runner : Embedded Jetty Tool for running webapps directly
|
org.eclipse.jetty.security |
Jetty Security : Modular Support for Security in Jetty
|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.server.handler |
Jetty Server : Core Handler API
|
org.eclipse.jetty.servlet |
Jetty Server : Modular Servlet Integration
|
org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
org.eclipse.jetty.util.resource |
Jetty Util : Common Resource Utilities
|
org.eclipse.jetty.util.ssl |
Jetty Util : Common SSL Utility Classes
|
org.eclipse.jetty.webapp |
Jetty Util : Modular Web Application Support
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
AnnotationConfiguration.ParserTask._resource |
Modifier and Type | Method and Description |
---|---|
Resource |
AnnotationParser.ClassInfo.getContainingResource() |
Resource |
AnnotationConfiguration.getJarFor(ServletContainerInitializer service) |
Resource |
AnnotationConfiguration.ParserTask.getResource() |
Modifier and Type | Method and Description |
---|---|
FragmentDescriptor |
AnnotationConfiguration.getFragmentFromJar(Resource jar,
List<FragmentDescriptor> frags)
Get the web-fragment.xml from a jar
|
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.
|
void |
AnnotationParser.parse(Set<? extends AnnotationParser.Handler> handlers,
Resource r,
ClassNameResolver resolver)
Parse a resource
|
protected void |
AnnotationParser.parseDir(Set<? extends AnnotationParser.Handler> handlers,
Resource dir,
ClassNameResolver resolver)
Parse all classes in a directory
|
protected void |
AnnotationParser.parseJar(Set<? extends AnnotationParser.Handler> handlers,
Resource jarResource,
ClassNameResolver resolver)
Parse a resource that is a jar file.
|
protected void |
AnnotationParser.parseJarEntry(Set<? extends AnnotationParser.Handler> handlers,
Resource jar,
JarEntry entry,
ClassNameResolver resolver)
Parse a single entry in a jar file
|
protected void |
AnnotationParser.scanClass(Set<? extends AnnotationParser.Handler> handlers,
Resource containingResource,
InputStream is)
Use ASM on a class
|
Constructor and Description |
---|
AnnotationConfiguration.ParserTask(AnnotationParser parser,
Set<? extends AnnotationParser.Handler> handlers,
Resource resource,
ClassNameResolver resolver) |
AnnotationParser.ClassInfo(Resource resource,
String className,
int version,
int access,
String signature,
String superName,
String[] interfaces) |
AnnotationParser.MyClassVisitor(Set<? extends AnnotationParser.Handler> handlers,
Resource containingResource) |
WebFilterAnnotation(WebAppContext context,
String className,
Resource resource) |
WebListenerAnnotation(WebAppContext context,
String className,
Resource resource) |
WebServletAnnotation(WebAppContext context,
String className,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
ScanningAppProvider.getMonitoredDirResource() |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
ScanningAppProvider.getMonitoredResources() |
Modifier and Type | Method and Description |
---|---|
void |
ScanningAppProvider.setMonitoredDirResource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
ScanningAppProvider.setMonitoredResources(List<Resource> resources) |
Modifier and Type | Method and Description |
---|---|
Resource |
HttpContent.getResource() |
Resource |
HttpContent.ResourceAsHttpContent.getResource() |
Constructor and Description |
---|
HttpContent.ResourceAsHttpContent(Resource resource,
String mimeType) |
HttpContent.ResourceAsHttpContent(Resource resource,
String mimeType,
boolean etag) |
HttpContent.ResourceAsHttpContent(Resource resource,
String mimeType,
int maxBuffer) |
HttpContent.ResourceAsHttpContent(Resource resource,
String mimeType,
int maxBuffer,
boolean etag) |
Modifier and Type | Class and Description |
---|---|
class |
SelectiveJarResource
SelectiveJarResource
Selectively copies resources from a jar file based on includes/excludes.
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
MavenWebInfConfiguration._originalResourceBase |
Resource |
Starter.Artifact.resource |
Modifier and Type | Field and Description |
---|---|
protected List<Resource> |
MavenWebInfConfiguration._unpackedOverlayResources |
Modifier and Type | Method and Description |
---|---|
Resource |
JettyWebAppContext.getQuickStartWebDescriptor() |
Resource |
MavenQuickStartConfiguration.getQuickStartWebXml(WebAppContext context) |
Resource |
Overlay.getResource() |
Resource |
JettyWebAppContext.getResource(String uriInContext) |
protected Resource |
MavenWebInfConfiguration.unpackOverlay(WebAppContext context,
Overlay overlay) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
JettyWebAppContext.setQuickStartWebDescriptor(Resource quickStartWebXml) |
void |
MavenQuickStartConfiguration.setQuickStartWebXml(Resource r) |
void |
Overlay.setResource(Resource r) |
Constructor and Description |
---|
Overlay(OverlayConfig config,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
AnnotationParser.getResource(org.osgi.framework.Bundle bundle) |
protected Resource |
AnnotationParser.indexBundle(org.osgi.framework.Bundle bundle)
Keep track of a jetty URI Resource and its associated OSGi bundle.
|
Modifier and Type | Method and Description |
---|---|
protected org.osgi.framework.Bundle |
AnnotationParser.getBundle(Resource resource) |
Constructor and Description |
---|
AnnotationConfiguration.BundleParserTask(AnnotationParser parser,
Set<? extends AnnotationParser.Handler> handlers,
Resource resource,
ClassNameResolver resolver) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
AbstractOSGiApp.findFile(String fileName,
String jettyHome,
String bundleOverrideLocation,
org.osgi.framework.Bundle containingBundle) |
protected Resource |
AbstractOSGiApp.getFileAsResource(String file) |
protected Resource |
AbstractOSGiApp.getFileAsResource(String dir,
String file) |
Modifier and Type | Method and Description |
---|---|
protected List<Resource> |
OSGiWebInfConfiguration.findJars(WebAppContext context)
Consider the fragment bundles associated with the bundle of the webapp being deployed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWebAppProvider.OSGiApp.applyMetaInfContextXml(Resource rootResource,
String overrideBundleInstallLocation) |
Modifier and Type | Method and Description |
---|---|
static Resource |
DefaultJettyAtJettyHomeHelper.findDir(org.osgi.framework.Bundle bundle,
String dir)
Get a resource representing a directory inside a bundle.
|
Modifier and Type | Method and Description |
---|---|
Resource |
QuickStartConfiguration.getQuickStartWebXml(WebAppContext context)
Get the quickstart-web.xml file as a Resource.
|
Modifier and Type | Method and Description |
---|---|
static void |
PreconfigureQuickStartWar.preconfigure(Resource war,
Resource dir,
Resource xml) |
void |
QuickStartDescriptorProcessor.visitMetaInfResource(WebAppContext context,
Resource dir) |
Modifier and Type | Method and Description |
---|---|
void |
Runner.Classpath.addJars(Resource lib) |
void |
Runner.Classpath.addPath(Resource path) |
Modifier and Type | Method and Description |
---|---|
Resource |
PropertyUserStore.getConfigResource()
returns the resource associated with the configured properties file, creating it if necessary
|
Resource |
HashLoginService.getConfigResource() |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceCache.Content.getResource() |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
ResourceCache.getDirectBuffer(Resource resource) |
protected ByteBuffer |
ResourceCache.getIndirectBuffer(Resource resource) |
protected boolean |
ResourceCache.isCacheable(Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceHandler.getBaseResource() |
Resource |
ContextHandler.getBaseResource() |
protected Resource |
ResourceHandler.getResource(HttpServletRequest request) |
Resource |
ResourceHandler.getResource(String path) |
Resource |
ContextHandler.getResource(String path) |
Resource |
ResourceHandler.getStylesheet() |
protected Resource |
ResourceHandler.getWelcome(Resource directory) |
Resource |
ContextHandler.newResource(String urlOrPath)
Convert a URL or path to a Resource.
|
Resource |
ContextHandler.newResource(URI uri)
Convert URL to Resource wrapper for
newResource(URL) enables extensions to provide alternate resource implementations. |
Resource |
ContextHandler.newResource(URL url)
Convert URL to Resource wrapper for
newResource(URL) enables extensions to provide alternate resource implementations. |
Modifier and Type | Method and Description |
---|---|
boolean |
ContextHandler.AliasCheck.check(String path,
Resource resource)
Check an alias
|
boolean |
ContextHandler.ApproveAliases.check(String path,
Resource resource) |
boolean |
ContextHandler.ApproveSameSuffixAliases.check(String path,
Resource resource)
Deprecated.
|
boolean |
ContextHandler.ApprovePathPrefixAliases.check(String path,
Resource resource)
Deprecated.
|
boolean |
ContextHandler.ApproveNonExistentDirectoryAliases.check(String path,
Resource resource) |
boolean |
AllowSymLinkAliasChecker.check(String path,
Resource resource) |
boolean |
ContextHandler.checkAlias(String path,
Resource resource) |
protected void |
ResourceHandler.doDirectory(HttpServletRequest request,
HttpServletResponse response,
Resource resource) |
protected void |
ResourceHandler.doResponseHeaders(HttpServletResponse response,
Resource resource,
String mimeType)
Set the response headers.
|
protected Resource |
ResourceHandler.getWelcome(Resource directory) |
void |
ResourceHandler.setBaseResource(Resource base) |
void |
ContextHandler.setBaseResource(Resource base)
Set the base resource for this context.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ServletTester.getBaseResource() |
Resource |
DefaultServlet.getResource(String pathInContext)
get Resource to serve.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultServlet.passConditionalHeaders(HttpServletRequest request,
HttpServletResponse response,
Resource resource,
HttpContent content) |
protected void |
DefaultServlet.sendData(HttpServletRequest request,
HttpServletResponse response,
boolean include,
Resource resource,
HttpContent content,
Enumeration<String> reqRanges) |
protected void |
DefaultServlet.sendDirectory(HttpServletRequest request,
HttpServletResponse response,
Resource resource,
String pathInContext) |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
BufferUtil.toBuffer(Resource resource,
boolean direct) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyResource
EmptyResource
Represents a resource that does does not refer to any file, url, jar etc.
|
class |
FileResource
File Resource.
|
class |
JarResource |
class |
PathResource
Java NIO Path equivalent of FileResource.
|
class |
ResourceCollection
A collection of resources (dirs).
|
class |
URLResource
Abstract resource class.
|
Modifier and Type | Field and Description |
---|---|
static Resource |
EmptyResource.INSTANCE |
Modifier and Type | Method and Description |
---|---|
Resource |
URLResource.addPath(String path)
Returns the resource contained inside the current resource with the
given name
|
Resource |
ResourceCollection.addPath(String path) |
abstract Resource |
Resource.addPath(String path)
Returns the resource contained inside the current resource with the
given name.
|
Resource |
PathResource.addPath(String apath) |
Resource |
FileResource.addPath(String path) |
Resource |
EmptyResource.addPath(String path) |
Resource |
ResourceFactory.getResource(String path)
Get a resource for a path.
|
Resource |
Resource.getResource(String path)
Get a resource from within this resource.
|
Resource[] |
ResourceCollection.getResources()
Retrieves the resource collection's resources.
|
static Resource |
Resource.newClassPathResource(String resource)
Find a classpath resource.
|
static Resource |
Resource.newClassPathResource(String name,
boolean useCaches,
boolean checkParents)
Find a classpath resource.
|
static Resource |
JarResource.newJarResource(Resource resource) |
static Resource |
Resource.newResource(File file) |
static Resource |
Resource.newResource(String resource)
Construct a resource from a string.
|
static Resource |
Resource.newResource(String resource,
boolean useCaches)
Construct a resource from a string.
|
static Resource |
Resource.newResource(URI uri)
Construct a resource from a uri.
|
static Resource |
Resource.newResource(URL url)
Construct a resource from a url.
|
static Resource |
Resource.newSystemResource(String resource)
Construct a system resource from a string.
|
Modifier and Type | Method and Description |
---|---|
Collection<Resource> |
Resource.getAllResources() |
Modifier and Type | Method and Description |
---|---|
boolean |
URLResource.isContainedIn(Resource containingResource) |
boolean |
ResourceCollection.isContainedIn(Resource r) |
abstract boolean |
Resource.isContainedIn(Resource r) |
boolean |
PathResource.isContainedIn(Resource r) |
boolean |
FileResource.isContainedIn(Resource r) |
boolean |
EmptyResource.isContainedIn(Resource r) |
static boolean |
Resource.isContainedIn(Resource r,
Resource containingResource) |
static Resource |
JarResource.newJarResource(Resource resource) |
boolean |
URLResource.renameTo(Resource dest)
Rename the given resource
|
boolean |
ResourceCollection.renameTo(Resource dest) |
abstract boolean |
Resource.renameTo(Resource dest)
Rename the given resource
|
boolean |
PathResource.renameTo(Resource dest) |
boolean |
FileResource.renameTo(Resource dest)
Rename the given resource
|
boolean |
EmptyResource.renameTo(Resource dest) |
void |
ResourceCollection.setResources(Resource[] resources)
Sets the resource collection's resources.
|
Constructor and Description |
---|
ResourceCollection(Resource... resources)
Instantiates a new resource collection.
|
Modifier and Type | Method and Description |
---|---|
void |
SslContextFactory.setKeyStoreResource(Resource resource)
Set the key store resource.
|
void |
SslContextFactory.setTrustStoreResource(Resource resource)
Set the trust store resource.
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
WebInfConfiguration._preUnpackBaseResource |
protected Resource |
DiscoveredAnnotation._resource |
protected Resource |
Descriptor._xml |
static Resource |
MetaData.NON_FRAG_RESOURCE |
Modifier and Type | Field and Description |
---|---|
protected LinkedList<Resource> |
Ordering.RelativeOrdering._afterOthers |
protected Map<Resource,List<DiscoveredAnnotation>> |
MetaData._annotations |
protected LinkedList<Resource> |
Ordering.RelativeOrdering._beforeOthers |
protected LinkedList<Resource> |
Ordering.RelativeOrdering._noOthers |
protected List<Resource> |
MetaData._orderedContainerResources |
protected List<Resource> |
MetaData._orderedWebInfResources |
protected Map<Resource,FragmentDescriptor> |
MetaData._webFragmentResourceMap |
protected List<Resource> |
MetaData._webInfClasses |
protected List<Resource> |
MetaData._webInfJars |
Modifier and Type | Method and Description |
---|---|
protected Resource |
WebInfConfiguration.findWebInfClassesDir(WebAppContext context)
Get WEB-INF/classes dir
|
protected Resource |
WebXmlConfiguration.findWebXml(WebAppContext context) |
Resource |
MetaData.getJarForFragment(String name) |
Resource |
DiscoveredAnnotation.getResource() |
Resource |
Descriptor.getResource() |
Resource |
WebAppContext.getResource(String uriInContext) |
Resource |
WebAppContext.getWebInf() |
Resource |
WebAppClassLoader.Context.newResource(String urlOrPath)
Convert a URL or path to a Resource.
|
Modifier and Type | Method and Description |
---|---|
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
|
protected List<Resource> |
WebInfConfiguration.findWebInfLibJars(WebAppContext context)
Look for jars in WEB-INF/lib
|
List<Resource> |
MetaData.getContainerResources() |
List<Resource> |
MetaData.getOrderedWebInfJars() |
List<Resource> |
MetaData.getWebInfClassesDirs() |
List<Resource> |
MetaData.getWebInfJars() |
List<Resource> |
Ordering.order(List<Resource> fragments) |
List<Resource> |
Ordering.AbsoluteOrdering.order(List<Resource> jars)
Order the list of jars in WEB-INF/lib according to the ordering declarations in the descriptors
|
List<Resource> |
Ordering.RelativeOrdering.order(List<Resource> jars)
Order the list of jars according to the ordering declared
in the various web-fragment.xml files.
|
Modifier and Type | Method and Description |
---|---|
void |
Ordering.RelativeOrdering.addAfterOthers(Resource r) |
void |
Ordering.RelativeOrdering.addBeforeOthers(Resource r) |
void |
WebAppClassLoader.addClassPath(Resource resource) |
void |
MetaData.addContainerResource(Resource jar) |
void |
MetaData.addFragment(Resource jarResource,
Resource xmlResource)
Add a web-fragment.xml
|
void |
WebAppClassLoader.addJars(Resource lib)
Add elements to the class path for the context from the jar and zip files found
in the specified resource.
|
void |
Ordering.RelativeOrdering.addNoOthers(Resource r) |
void |
MetaData.addOverride(Resource override) |
void |
MetaData.addWebInfJar(Resource newResource) |
FragmentDescriptor |
MetaData.getFragment(Resource jar) |
protected void |
Ordering.RelativeOrdering.insert(List<Resource> list,
int index,
Resource resource) |
protected void |
Ordering.RelativeOrdering.remove(List<Resource> resources,
Resource r) |
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 |
MetaData.setDefaults(Resource webDefaults) |
void |
MetaData.setWebXml(Resource webXml) |
Modifier and Type | Method and Description |
---|---|
protected int |
Ordering.RelativeOrdering.getIndexOf(List<Resource> resources,
String fragmentName) |
protected void |
Ordering.RelativeOrdering.insert(List<Resource> list,
int index,
Resource resource) |
protected void |
Ordering.RelativeOrdering.insert(List<Resource> list,
int index,
String fragName)
Insert the resource matching the fragName into the list of resources
at the location indicated by index.
|
protected boolean |
Ordering.RelativeOrdering.isAfter(List<Resource> list,
String fragNameA,
String fragNameB)
Is fragment name "a" after fragment name "b"?
|
protected boolean |
Ordering.RelativeOrdering.isBefore(List<Resource> list,
String fragNameA,
String fragNameB)
Is fragment with name a before fragment with name b?
|
List<Resource> |
Ordering.order(List<Resource> fragments) |
List<Resource> |
Ordering.AbsoluteOrdering.order(List<Resource> jars)
Order the list of jars in WEB-INF/lib according to the ordering declarations in the descriptors
|
List<Resource> |
Ordering.RelativeOrdering.order(List<Resource> jars)
Order the list of jars according to the ordering declared
in the various web-fragment.xml files.
|
protected boolean |
Ordering.RelativeOrdering.orderList(LinkedList<Resource> list) |
protected void |
Ordering.RelativeOrdering.remove(List<Resource> resources,
Resource r) |
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.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.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 |
MetaData.setWebInfClassesDirs(List<Resource> dirs) |
Constructor and Description |
---|
DefaultsDescriptor(Resource xml) |
Descriptor(Resource xml) |
DiscoveredAnnotation(WebAppContext context,
String className,
Resource resource) |
FragmentDescriptor(Resource xml) |
OverrideDescriptor(Resource xml) |
WebDescriptor(Resource xml) |
Copyright © 1995-2015 Webtide. All Rights Reserved.