Package org.hippoecm.hst.core.request
Interface ResolvedVirtualHost
-
public interface ResolvedVirtualHost
Implementations of this interface are a request flyweight instance of theVirtualHost
object, where possible wildcard property placeholders have been filled in, similar to theResolvedMount
andMount
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description VirtualHost
getVirtualHost()
ResolvedMount
matchMount(String requestPath)
This method tries to match the currentResolvedVirtualHost
for the requestPath to a flyweightResolvedMount
.ResolvedMount
matchMount(String contextPath, String requestPath)
Deprecated.since 13.0.0.
-
-
-
Method Detail
-
getVirtualHost
VirtualHost getVirtualHost()
- Returns:
- the backing virtual host of this ResolvedVirtualHost
-
matchMount
ResolvedMount matchMount(String contextPath, String requestPath) throws MatchException
Deprecated.since 13.0.0. UsematchMount(String)
instead. ThecontextPath
is not used any more- Parameters:
contextPath
- the contextPath of theHttpServletRequest
requestPath
-- Returns:
- the
ResolvedMount
for this hstContainerUrl ornull
when it can not be matched to aMount
- Throws:
MatchException
-
matchMount
ResolvedMount matchMount(String requestPath) throws MatchException
This method tries to match the current
ResolvedVirtualHost
for the requestPath to a flyweightResolvedMount
.- Parameters:
requestPath
-- Returns:
- the
ResolvedMount
for this hstContainerUrl ornull
when it can not be matched to aMount
- Throws:
MatchException
-
-