Package org.eclipse.jetty.http.pathmap
Class MappedResource<E>
- java.lang.Object
-
- org.eclipse.jetty.http.pathmap.MappedResource<E>
-
- All Implemented Interfaces:
Comparable<MappedResource<E>>
@ManagedObject("Mapped Resource") public class MappedResource<E> extends Object implements Comparable<MappedResource<E>>
-
-
Constructor Summary
Constructors Constructor Description MappedResource(PathSpec pathSpec, E resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MappedResource<E> other)Comparison is based solely on the pathSpecbooleanequals(Object obj)PathSpecgetPathSpec()EgetResource()inthashCode()StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(MappedResource<E> other)
Comparison is based solely on the pathSpec- Specified by:
compareToin interfaceComparable<E>
-
getPathSpec
@ManagedAttribute(value="path spec", readonly=true) public PathSpec getPathSpec()
-
getResource
@ManagedAttribute(value="resource", readonly=true) public E getResource()
-
-