E
- the type of mapping endpoint@ManagedObject(value="Path Mappings") public class PathMappings<E> extends Object implements Iterable<MappedResource<E>>, Dumpable
Sorted into search order upon entry into the Set
Constructor and Description |
---|
PathMappings() |
Modifier and Type | Method and Description |
---|---|
String |
dump() |
void |
dump(Appendable out,
String indent) |
List<MappedResource<E>> |
getMappings() |
MappedResource<E> |
getMatch(String path) |
List<MappedResource<E>> |
getMatches(String path)
Return a list of MappedResource matches for the specified path.
|
Iterator<MappedResource<E>> |
iterator() |
void |
put(PathSpec pathSpec,
E resource) |
void |
reset() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void dump(Appendable out, String indent) throws IOException
dump
in interface Dumpable
IOException
@ManagedAttribute(value="mappings", readonly=true) public List<MappedResource<E>> getMappings()
public void reset()
public List<MappedResource<E>> getMatches(String path)
path
- the path to return matches onpublic MappedResource<E> getMatch(String path)
public Iterator<MappedResource<E>> iterator()
iterator
in interface Iterable<MappedResource<E>>
Copyright © 1995-2016 Webtide. All Rights Reserved.