Interface WebAppPathResolver
- All Known Implementing Classes:
PrefixingPathContext
,PrefixingPathRegistry
,WebJarsPathContext
public interface WebAppPathResolver
Interface for resolving paths within the current webapp.
- Author:
- Arne Vandamme
- See Also:
-
Method Summary
-
Method Details
-
path
Resolves the requested path in the relative context of the web application. Note that this does not take the actual web application context of the container into account.- Parameters:
path
- Original path to be resolved.- Returns:
- Resolved path - might be modified.
-
redirect
Creates a Spring MVC redirect for the requested path. This will usually apply the regular path resolving and prepend redirect: if necessary.- Parameters:
path
- Original path for which to create a redirect.- Returns:
- Redirect path.
-