Package org.eclipse.jetty.servlet
Class Source
- java.lang.Object
-
- org.eclipse.jetty.servlet.Source
-
@Deprecated(since="2021-05-27") public class Source extends Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Source The source of a web artifact: servlet, filter, mapping etc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Source.Origin
Deprecated.
-
Constructor Summary
Constructors Constructor Description Source(Source.Origin o, String resource)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Source.Origin
getOrigin()
Deprecated.String
getResource()
Deprecated.String
toString()
Deprecated.
-
-
-
Field Detail
-
EMBEDDED
public static final Source EMBEDDED
Deprecated.
-
JAVAX_API
public static final Source JAVAX_API
Deprecated.
-
_origin
public Source.Origin _origin
Deprecated.
-
_resource
public String _resource
Deprecated.
-
-
Constructor Detail
-
Source
public Source(Source.Origin o, String resource)
Deprecated.- Parameters:
o
- the Origin of the artifact (servlet, filter, mapping etc)resource
- the location where the artifact was declared
-
-
Method Detail
-
getOrigin
public Source.Origin getOrigin()
Deprecated.- Returns:
- the origin
-
getResource
public String getResource()
Deprecated.- Returns:
- the resource
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-