Package org.eclipse.jetty.quickstart
Class AttributeNormalizer
- java.lang.Object
-
- org.eclipse.jetty.quickstart.AttributeNormalizer
-
public class AttributeNormalizer extends Object
Normalize Attribute to String.Replaces and expands:
- ${WAR}
- ${WAR.path}
- ${WAR.uri}
- ${jetty.base}
- ${jetty.base.uri}
- ${jetty.home}
- ${jetty.home.uri}
- ${user.home}
- ${user.home.uri}
- ${user.dir}
- ${user.dir.uri}
-
-
Constructor Summary
Constructors Constructor Description AttributeNormalizer(org.eclipse.jetty.util.resource.Resource baseResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexpand(String str)Stringexpand(String str, Stack<String> seenStack)Stringnormalize(Object o)Normalize a URI, URL, or File reference by replacing known attributes with ${key} attributes.protected StringnormalizePath(Path path)protected StringnormalizeUri(URI uri)
-