Package org.eclipse.jetty.http.pathmap
Class PathMappings<E>
java.lang.Object
org.eclipse.jetty.http.pathmap.PathMappings<E>
- Type Parameters:
E- the type of mapping endpoint
- All Implemented Interfaces:
Iterable<MappedResource<E>>,Dumpable
@ManagedObject("Path Mappings")
@Deprecated(since="2021-05-27")
public class PathMappings<E>
extends Object
implements Iterable<MappedResource<E>>, Dumpable
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Path Mappings of PathSpec to Resource.
Sorted into search order upon entry into the Set
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathSpecasPathSpec(String pathSpecString) Deprecated.usePathSpec.from(String)insteaddump()Deprecated.voiddump(Appendable out, String indent) Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.Deprecated.Deprecated.Deprecated.usegetMatched(String)insteadgetMatched(String path) Deprecated.getMatchedList(String path) Deprecated.Return a list of MatchedResource matches for the specified path.getMatches(String path) Deprecated.Return a list of MappedResource matches for the specified path.iterator()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidremoveIf(Predicate<MappedResource<E>> predicate) Deprecated.voidreset()Deprecated.intsize()Deprecated.toString()Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PathMappings
public PathMappings()Deprecated.
-
-
Method Details
-
dump
Deprecated. -
dump
Deprecated.Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
dumpin interfaceDumpable- Parameters:
out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
IOException- if unable to write to Appendable
-
getMappings
Deprecated. -
size
public int size()Deprecated. -
reset
public void reset()Deprecated. -
removeIf
Deprecated. -
getMatchedList
Deprecated.Return a list of MatchedResource matches for the specified path.- Parameters:
path- the path to return matches on- Returns:
- the list of mapped resource the path matches on
-
getMatches
Deprecated.Return a list of MappedResource matches for the specified path.- Parameters:
path- the path to return matches on- Returns:
- the list of mapped resource the path matches on
-
getMatched
Deprecated. -
getMatch
Deprecated.usegetMatched(String)instead -
iterator
Deprecated. -
asPathSpec
Deprecated.usePathSpec.from(String)instead -
get
Deprecated. -
put
Deprecated. -
put
Deprecated. -
remove
Deprecated. -
toString
Deprecated.
-