Package org.eclipse.jetty.http.pathmap
Class MappedResource<E>
- java.lang.Object
-
- org.eclipse.jetty.http.pathmap.MappedResource<E>
-
- All Implemented Interfaces:
java.lang.Comparable<MappedResource<E>>
@ManagedObject("Mapped Resource") @Deprecated(since="2021-05-27") public class MappedResource<E> extends java.lang.Object implements java.lang.Comparable<MappedResource<E>>
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description MappedResource(PathSpec pathSpec, E resource)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(MappedResource<E> other)
Deprecated.Comparison is based solely on the pathSpecboolean
equals(java.lang.Object obj)
Deprecated.PathSpec
getPathSpec()
Deprecated.E
getResource()
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
compareTo
public int compareTo(MappedResource<E> other)
Deprecated.Comparison is based solely on the pathSpec- Specified by:
compareTo
in interfacejava.lang.Comparable<E>
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
getPathSpec
@ManagedAttribute(value="path spec", readonly=true) public PathSpec getPathSpec()
Deprecated.
-
getResource
@ManagedAttribute(value="resource", readonly=true) public E getResource()
Deprecated.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-