Class Source

java.lang.Object
org.eclipse.jetty.servlet.Source

public class Source extends Object
Source The source of a web artifact: servlet, filter, mapping etc
  • Field Details

    • EMBEDDED

      public static final Source EMBEDDED
    • JAVAX_API

      public static final Source JAVAX_API
    • _origin

      public Source.Origin _origin
    • _resource

      public String _resource
  • Constructor Details

    • Source

      public Source(Source.Origin o, String resource)
      Parameters:
      o - the Origin of the artifact (servlet, filter, mapping etc)
      resource - the location where the artifact was declared
  • Method Details

    • getOrigin

      public Source.Origin getOrigin()
      Returns:
      the origin
    • getResource

      public String getResource()
      Returns:
      the resource
    • toString

      public String toString()
      Overrides:
      toString in class Object