Interface UrlPrefixer
- All Known Implementing Classes:
UrlHandler
public interface UrlPrefixer
Prefix urls - or not depending on internal state
- Author:
- douglm
-
Method Summary
-
Method Details
-
prefix
Return an appropriately prefixed url. The parameter url will be absolute or relative. If relative it may be prefixed with the context path which we need to remove.We're doing this because some clients don't handle absolute urls (a violation of the spec)
- Parameters:
val- to prefix- Returns:
- String
- Throws:
RuntimeException- on error
-