E
- @ManagedObject(value="Path Mappings") public class PathMappings<E> extends Object implements Iterable<PathMappings.MappedResource<E>>, Dumpable
Sorted into search order upon entry into the Set
Modifier and Type | Class and Description |
---|---|
static class |
PathMappings.MappedResource<E> |
Constructor and Description |
---|
PathMappings() |
Modifier and Type | Method and Description |
---|---|
String |
dump() |
void |
dump(Appendable out,
String indent) |
List<PathMappings.MappedResource<E>> |
getMappings() |
PathMappings.MappedResource<E> |
getMatch(String path) |
Iterator<PathMappings.MappedResource<E>> |
iterator() |
void |
put(PathSpec pathSpec,
E resource) |
void |
reset() |
String |
toString() |
public void dump(Appendable out, String indent) throws IOException
dump
in interface Dumpable
IOException
@ManagedAttribute(value="mappings", readonly=true) public List<PathMappings.MappedResource<E>> getMappings()
public void reset()
public PathMappings.MappedResource<E> getMatch(String path)
public Iterator<PathMappings.MappedResource<E>> iterator()
iterator
in interface Iterable<PathMappings.MappedResource<E>>
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.