Package | Description |
---|---|
org.eclipse.jetty.annotations |
Jetty Annotations : Support for Servlet Annotations
|
org.eclipse.jetty.deploy |
Jetty Deploy : Webapp Deploy Management
|
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.security |
Jetty Util : Common Security Utilities
|
org.eclipse.jetty.util.ssl |
Jetty Util : Common SSL Utility Classes
|
org.eclipse.jetty.webapp |
Jetty Util : Modular Web Application Support
|
org.eclipse.jetty.xml |
Jetty Xml : IoC Mechanism for Jetty Configuration
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
AnnotationConfiguration.ParserTask._resource |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Resource> |
AnnotationParser._parsedClassNames
Map of classnames scanned and the first location from which scan occurred
|
Modifier and Type | Method and Description |
---|---|
Resource |
AnnotationParser.ClassInfo.getContainingResource() |
Resource |
AnnotationConfiguration.getJarFor(javax.servlet.ServletContainerInitializer service) |
Resource |
AnnotationConfiguration.ParserTask.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationParser.addParsedClass(java.lang.String classname,
Resource location)
Add a class as having been parsed.
|
FragmentDescriptor |
AnnotationConfiguration.getFragmentFromJar(Resource jar,
java.util.List<FragmentDescriptor> frags)
Get the web-fragment.xml from a jar
|
boolean |
AnnotationConfiguration.isFromExcludedJar(WebAppContext context,
javax.servlet.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.
|
boolean |
AnnotationConfiguration.isFromWebInfClasses(WebAppContext context,
Resource sci)
Test if the ServletContainerInitializer is from WEB-INF/classes
|
void |
AnnotationParser.parse(java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource r)
Parse a resource
|
protected void |
AnnotationParser.parseDir(java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource root)
Parse all classes in a directory
|
protected void |
AnnotationParser.parseJar(java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource jarResource)
Parse a resource that is a jar file.
|
protected void |
AnnotationParser.parseJarEntry(java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource jar,
MultiReleaseJarFile.VersionedJarEntry entry)
Parse a single entry in a jar file
|
protected void |
AnnotationParser.scanClass(java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource containingResource,
java.io.InputStream is)
Use ASM on a class
|
Constructor and Description |
---|
ClassInfo(Resource resource,
java.lang.String className,
int version,
int access,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces) |
MyClassVisitor(java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource containingResource,
int asmVersion) |
ParserTask(AnnotationParser parser,
java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource resource) |
WebFilterAnnotation(WebAppContext context,
java.lang.String className,
Resource resource) |
WebListenerAnnotation(WebAppContext context,
java.lang.String className,
Resource resource) |
WebServletAnnotation(WebAppContext context,
java.lang.String className,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
DeploymentManager.scope(XmlConfiguration xmlc,
Resource webapp) |
Modifier and Type | Method and Description |
---|---|
Resource |
ScanningAppProvider.getMonitoredDirResource() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Resource> |
ScanningAppProvider.getMonitoredResources() |
Modifier and Type | Method and Description |
---|---|
void |
ScanningAppProvider.setMonitoredDirResource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
void |
ScanningAppProvider.setMonitoredResources(java.util.List<Resource> resources) |
Modifier and Type | Method and Description |
---|---|
Resource |
HttpContent.getResource() |
Resource |
ResourceHttpContent.getResource() |
Resource |
PrecompressedHttpContent.getResource() |
Constructor and Description |
---|
ResourceHttpContent(Resource resource,
java.lang.String contentType) |
ResourceHttpContent(Resource resource,
java.lang.String contentType,
int maxBuffer) |
ResourceHttpContent(Resource resource,
java.lang.String contentType,
int maxBuffer,
java.util.Map<CompressedContentFormat,HttpContent> precompressedContents) |
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 |
JettyRunMojo.originalBaseResource |
Modifier and Type | Method and Description |
---|---|
Resource |
JettyWebAppContext.getQuickStartWebDescriptor() |
Resource |
Overlay.getResource() |
Resource |
JettyWebAppContext.getResource(java.lang.String uriInContext) |
Resource |
JettyRunMojo.unpackOverlay(Overlay overlay) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Resource> |
MavenWebInfConfiguration.findClassDirs(WebAppContext context)
Add in the classes dirs from test/classes and target/classes
|
protected java.util.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 |
---|---|
protected void |
JettyWebAppContext.setQuickStartWebDescriptor(Resource quickStartWebXml) |
void |
Overlay.setResource(Resource r) |
Constructor and Description |
---|
Overlay(OverlayConfig config,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
AnnotationConfiguration.getJarFor(javax.servlet.ServletContainerInitializer service) |
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 |
---|
BundleParserTask(AnnotationParser parser,
java.util.Set<? extends AnnotationParser.Handler> handlers,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
protected Resource |
AbstractOSGiApp.findFile(java.lang.String fileName,
java.lang.String jettyHome,
java.lang.String bundleOverrideLocation,
org.osgi.framework.Bundle containingBundle) |
protected Resource |
AbstractOSGiApp.getFileAsResource(java.lang.String file) |
protected Resource |
AbstractOSGiApp.getFileAsResource(java.lang.String dir,
java.lang.String file) |
Modifier and Type | Method and Description |
---|---|
protected java.util.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,
java.lang.String overrideBundleInstallLocation) |
Modifier and Type | Method and Description |
---|---|
static Resource |
DefaultJettyAtJettyHomeHelper.findDir(org.osgi.framework.Bundle bundle,
java.lang.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) |
Constructor and Description |
---|
AttributeNormalizer(Resource baseResource) |
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 |
HashLoginService.getConfigResource()
Deprecated.
|
Resource |
PropertyUserStore.getConfigResource() |
Modifier and Type | Method and Description |
---|---|
Resource |
CachedContentFactory.CachedHttpContent.getResource() |
Modifier and Type | Method and Description |
---|---|
protected java.nio.ByteBuffer |
CachedContentFactory.getDirectBuffer(Resource resource) |
protected java.nio.ByteBuffer |
CachedContentFactory.getIndirectBuffer(Resource resource) |
protected java.nio.ByteBuffer |
CachedContentFactory.getMappedBuffer(Resource resource) |
protected boolean |
CachedContentFactory.isCacheable(Resource resource) |
protected void |
ResourceService.sendDirectory(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Resource resource,
java.lang.String pathInContext) |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceHandler.getBaseResource() |
Resource |
ContextHandler.getBaseResource() |
Resource |
ResourceHandler.getResource(java.lang.String path) |
Resource |
ContextHandler.getResource(java.lang.String path) |
Resource |
ResourceHandler.getStylesheet() |
Resource |
ContextHandler.newResource(java.lang.String urlOrPath)
Convert a URL or path to a Resource.
|
Resource |
ContextHandler.newResource(java.net.URI uri)
Convert URL to Resource wrapper for
newResource(URL) enables extensions to provide alternate resource implementations. |
Resource |
ContextHandler.newResource(java.net.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(java.lang.String path,
Resource resource)
Check an alias
|
boolean |
ContextHandler.ApproveAliases.check(java.lang.String path,
Resource resource) |
boolean |
ContextHandler.ApproveNonExistentDirectoryAliases.check(java.lang.String path,
Resource resource) |
boolean |
AllowSymLinkAliasChecker.check(java.lang.String uri,
Resource resource) |
boolean |
ContextHandler.checkAlias(java.lang.String path,
Resource resource) |
void |
ResourceHandler.setBaseResource(Resource base) |
void |
ContextHandler.setBaseResource(Resource base)
Set the base resource for this context.
|
Modifier and Type | Method and Description |
---|---|
Resource |
DefaultServlet.getResource(java.lang.String pathInContext)
get Resource to serve.
|
Modifier and Type | Method and Description |
---|---|
static java.nio.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
Deprecated.
Use
PathResource |
class |
JarFileResource |
class |
JarResource |
class |
PathResource
Java NIO Path equivalent of FileResource.
|
class |
ResourceCollection
A collection of resources (dirs).
|
class |
URLResource
URL resource class.
|
Modifier and Type | Field and Description |
---|---|
static Resource |
EmptyResource.INSTANCE |
Modifier and Type | Method and Description |
---|---|
Resource |
EmptyResource.addPath(java.lang.String path) |
Resource |
FileResource.addPath(java.lang.String path)
Deprecated.
|
Resource |
PathResource.addPath(java.lang.String subpath) |
Resource |
URLResource.addPath(java.lang.String path)
Returns the resource contained inside the current resource with the
given name
|
Resource |
ResourceCollection.addPath(java.lang.String path) |
abstract Resource |
Resource.addPath(java.lang.String path)
Returns the resource contained inside the current resource with the
given name.
|
static Resource |
JarFileResource.getNonCachingResource(Resource resource)
Take a Resource that possibly might use URLConnection caching
and turn it into one that doesn't.
|
Resource |
ResourceFactory.getResource(java.lang.String path)
Get a resource for a path.
|
Resource |
Resource.getResource(java.lang.String path)
Get a resource from within this resource.
|
Resource[] |
ResourceCollection.getResources()
Retrieves the resource collection's resources.
|
static Resource |
Resource.newClassPathResource(java.lang.String resource)
Find a classpath resource.
|
static Resource |
Resource.newClassPathResource(java.lang.String name,
boolean useCaches,
boolean checkParents)
Find a classpath resource.
|
static Resource |
JarResource.newJarResource(Resource resource) |
static Resource |
Resource.newResource(java.io.File file) |
static Resource |
Resource.newResource(java.nio.file.Path path)
Construct a Resource from provided path
|
static Resource |
Resource.newResource(java.lang.String resource)
Construct a resource from a string.
|
static Resource |
Resource.newResource(java.lang.String resource,
boolean useCaches)
Construct a resource from a string.
|
static Resource |
Resource.newResource(java.net.URI uri)
Construct a resource from a uri.
|
static Resource |
Resource.newResource(java.net.URL url)
Construct a resource from a url.
|
static Resource |
Resource.newSystemResource(java.lang.String resource)
Construct a system resource from a string.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Resource> |
Resource.getAllResources() |
Modifier and Type | Method and Description |
---|---|
static Resource |
JarFileResource.getNonCachingResource(Resource resource)
Take a Resource that possibly might use URLConnection caching
and turn it into one that doesn't.
|
boolean |
EmptyResource.isContainedIn(Resource r) |
boolean |
JarFileResource.isContainedIn(Resource resource)
Check if this jar:file: resource is contained in the
named resource.
|
boolean |
FileResource.isContainedIn(Resource r)
Deprecated.
|
boolean |
PathResource.isContainedIn(Resource r) |
boolean |
URLResource.isContainedIn(Resource containingResource) |
boolean |
ResourceCollection.isContainedIn(Resource r) |
abstract boolean |
Resource.isContainedIn(Resource r) |
static boolean |
Resource.isContainedIn(Resource r,
Resource containingResource) |
static Resource |
JarResource.newJarResource(Resource resource) |
boolean |
EmptyResource.renameTo(Resource dest) |
boolean |
FileResource.renameTo(Resource dest)
Deprecated.
Rename the given resource
|
boolean |
PathResource.renameTo(Resource dest) |
boolean |
URLResource.renameTo(Resource dest)
Rename the given resource
|
boolean |
ResourceCollection.renameTo(Resource dest) |
abstract boolean |
Resource.renameTo(Resource dest)
Rename the given resource
|
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 |
---|---|
static java.security.KeyStore |
CertificateUtils.getKeyStore(Resource store,
java.lang.String storeType,
java.lang.String storeProvider,
java.lang.String storePassword) |
Modifier and Type | Method and Description |
---|---|
Resource |
SslContextFactory.getKeyStoreResource() |
Resource |
SslContextFactory.getTrustStoreResource() |
Modifier and Type | Method and Description |
---|---|
protected java.security.KeyStore |
SslContextFactory.loadKeyStore(Resource resource)
Override this method to provide alternate way to load a keystore.
|
protected java.security.KeyStore |
SslContextFactory.loadTrustStore(Resource resource)
Override this method to provide alternate way to load a truststore.
|
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 java.util.Map<Resource,java.util.List<DiscoveredAnnotation>> |
MetaData._annotations |
protected java.util.List<Resource> |
MetaData._orderedContainerResources |
protected java.util.List<Resource> |
MetaData._orderedWebInfResources |
protected java.util.Map<Resource,FragmentDescriptor> |
MetaData._webFragmentResourceMap |
protected java.util.List<Resource> |
MetaData._webInfClasses |
protected java.util.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(java.lang.String name) |
Resource |
DiscoveredAnnotation.getResource() |
Resource |
Descriptor.getResource() |
Resource |
WebAppContext.getResource(java.lang.String uriInContext) |
Resource |
WebAppContext.getWebInf() |
Resource |
WebAppClassLoader.Context.newResource(java.lang.String urlOrPath)
Convert a URL or path to a Resource.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Resource> |
WebInfConfiguration.findClassDirs(WebAppContext context) |
protected java.util.List<Resource> |
WebInfConfiguration.findExtraClasspathDirs(WebAppContext context)
Get class dirs from WebAppContext.getExtraClasspath as resources
|
protected java.util.List<Resource> |
WebInfConfiguration.findExtraClasspathJars(WebAppContext context)
Get jars from WebAppContext.getExtraClasspath as resources
|
protected java.util.List<Resource> |
WebInfConfiguration.findJars(WebAppContext context)
Look for jars that should be treated as if they are in WEB-INF/lib
|
protected java.util.List<Resource> |
WebInfConfiguration.findWebInfLibJars(WebAppContext context)
Look for jars in
WEB-INF/lib |
java.util.List<Resource> |
MetaData.getContainerResources() |
java.util.List<Resource> |
MetaData.getOrderedWebInfJars() |
java.util.List<Resource> |
MetaData.getWebInfClassesDirs() |
java.util.List<Resource> |
MetaData.getWebInfJars() |
java.util.List<Resource> |
AbsoluteOrdering.order(java.util.List<Resource> jars) |
java.util.List<Resource> |
RelativeOrdering.order(java.util.List<Resource> jars) |
java.util.List<Resource> |
Ordering.order(java.util.List<Resource> fragments) |
Modifier and Type | Method and Description |
---|---|
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 |
MetaData.addOverride(Resource override) |
void |
MetaData.addWebInfJar(Resource newResource) |
FragmentDescriptor |
MetaData.getFragment(Resource jar) |
void |
MetaInfConfiguration.scanForFragment(WebAppContext context,
Resource jar,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.
|
void |
MetaInfConfiguration.scanForResources(WebAppContext context,
Resource target,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.
|
void |
MetaInfConfiguration.scanForTlds(WebAppContext context,
Resource jar,
java.util.concurrent.ConcurrentHashMap<Resource,java.util.Collection<java.net.URL>> cache)
Discover META-INF/*.tld files in the given jar
|
void |
MetaData.setDefaults(Resource webDefaults) |
void |
WebAppContext.setWarResource(Resource war)
Set the war of the webapp as a
Resource . |
void |
MetaData.setWebXml(Resource webXml) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Resource> |
AbsoluteOrdering.order(java.util.List<Resource> jars) |
java.util.List<Resource> |
RelativeOrdering.order(java.util.List<Resource> jars) |
java.util.List<Resource> |
Ordering.order(java.util.List<Resource> fragments) |
void |
MetaInfConfiguration.scanForFragment(WebAppContext context,
Resource jar,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.
|
void |
MetaInfConfiguration.scanForFragment(WebAppContext context,
Resource jar,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/web-fragment.xml file in the given jar.
|
void |
MetaInfConfiguration.scanForResources(WebAppContext context,
Resource target,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.
|
void |
MetaInfConfiguration.scanForResources(WebAppContext context,
Resource target,
java.util.concurrent.ConcurrentHashMap<Resource,Resource> cache)
Scan for META-INF/resources dir in the given jar.
|
void |
MetaInfConfiguration.scanForTlds(WebAppContext context,
Resource jar,
java.util.concurrent.ConcurrentHashMap<Resource,java.util.Collection<java.net.URL>> cache)
Discover META-INF/*.tld files in the given jar
|
void |
MetaInfConfiguration.scanJars(WebAppContext context,
java.util.Collection<Resource> jars,
boolean useCaches)
For backwards compatibility.
|
void |
MetaInfConfiguration.scanJars(WebAppContext context,
java.util.Collection<Resource> jars,
boolean useCaches,
java.util.List<java.lang.String> scanTypes)
Look into the jars to discover info in META-INF.
|
void |
MetaData.setWebInfClassesDirs(java.util.List<Resource> dirs) |
Constructor and Description |
---|
DefaultsDescriptor(Resource xml) |
Descriptor(Resource xml) |
DiscoveredAnnotation(WebAppContext context,
java.lang.String className,
Resource resource) |
FragmentDescriptor(Resource xml) |
OverrideDescriptor(Resource xml) |
WebAppContext(HandlerContainer parent,
Resource webApp,
java.lang.String contextPath) |
WebAppContext(Resource webApp,
java.lang.String contextPath) |
WebDescriptor(Resource xml) |
Modifier and Type | Method and Description |
---|---|
void |
XmlConfiguration.setJettyStandardIdsAndProperties(java.lang.Object server,
Resource webapp)
Set the standard IDs and properties expected in a jetty XML file:
RefId Server
Property jetty.home
Property jetty.home.uri
Property jetty.base
Property jetty.base.uri
Property jetty.webapps
Property jetty.webapps.uri
|
Copyright © 1995–2023 Webtide. All rights reserved.