Package org.eclipse.jetty.webapp
Interface WebAppClassLoader.Context
-
- All Superinterfaces:
ClassVisibilityChecker
- All Known Implementing Classes:
WebAppContext
- Enclosing class:
- WebAppClassLoader
@Deprecated(since="2021-05-27") public static interface WebAppClassLoader.Context extends ClassVisibilityChecker
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.The Context in which the classloader operates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetExtraClasspath()Deprecated.java.security.PermissionCollectiongetPermissions()Deprecated.booleanisParentLoaderPriority()Deprecated.booleanisServerResource(java.lang.String name, java.net.URL parentUrl)Deprecated.booleanisSystemResource(java.lang.String name, java.net.URL webappUrl)Deprecated.ResourcenewResource(java.lang.String urlOrPath)Deprecated.Convert a URL or path to a Resource.-
Methods inherited from interface org.eclipse.jetty.util.ClassVisibilityChecker
isServerClass, isSystemClass
-
-
-
-
Method Detail
-
newResource
Resource newResource(java.lang.String urlOrPath) throws java.io.IOException
Deprecated.Convert a URL or path to a Resource. The default implementation is a wrapper forResource.newResource(String).- Parameters:
urlOrPath- The URL or path to convert- Returns:
- The Resource for the URL/path
- Throws:
java.io.IOException- The Resource could not be created.
-
getPermissions
java.security.PermissionCollection getPermissions()
Deprecated.- Returns:
- Returns the permissions.
-
isParentLoaderPriority
boolean isParentLoaderPriority()
Deprecated.- Returns:
- True if the classloader should delegate first to the parent classloader (standard java behaviour) or false if the classloader should first try to load from WEB-INF/lib or WEB-INF/classes (servlet spec recommendation).
-
getExtraClasspath
java.lang.String getExtraClasspath()
Deprecated.
-
isServerResource
boolean isServerResource(java.lang.String name, java.net.URL parentUrl)Deprecated.
-
isSystemResource
boolean isSystemResource(java.lang.String name, java.net.URL webappUrl)Deprecated.
-
-