Package org.eclipse.jetty.ee10.servlet
Class Source
java.lang.Object
org.eclipse.jetty.ee10.servlet.Source
Source
The source of a web artifact: servlet, filter, mapping etc
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final Source.Origin
static final Source
static final Source
-
Constructor Summary
ConstructorDescriptionA Source without a name/location.Source
(Source.Origin o, Class<?> clazz) Source
(Source.Origin o, String name) Source
(Source.Origin o, Resource resource) -
Method Summary
-
Field Details
-
EMBEDDED
-
JAKARTA_API
-
_origin
-
_name
-
_resource
-
-
Constructor Details
-
Source
A Source without a name/location.- Parameters:
o
- the Origin of the artifact (servlet, filter, mapping etc)
-
Source
- Parameters:
o
- the Origin of the artifact (servlet, filter, mapping etc)clazz
- the class where the artifact was declared
-
Source
- Parameters:
o
- the Origin of the artifact (servlet, filter, mapping etc)resource
- the location where the artifact was declared
-
Source
- Parameters:
o
- the Origin of the artifact (servlet, filter, mapping etc)name
- the name of the location where the artifact was declared (not aResource
)
-
-
Method Details