Package org.hippoecm.hst.core.request
Interface ResolvedVirtualHost
public interface ResolvedVirtualHost
Implementations of this interface are a request flyweight instance of the
VirtualHost
object, where possible wildcard property placeholders have been filled in, similar
to the ResolvedMount
and Mount
-
Method Summary
Modifier and TypeMethodDescriptionmatchMount
(String requestPath) This method tries to match the currentResolvedVirtualHost
for the requestPath to a flyweightResolvedMount
.matchMount
(String contextPath, String requestPath) Deprecated.since 13.0.0.
-
Method Details
-
getVirtualHost
VirtualHost getVirtualHost()- Returns:
- the backing virtual host of this ResolvedVirtualHost
-
matchMount
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
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
-