public interface ResolvedVirtualHost
VirtualHost
object, where possible wildcard property placeholders have been filled in, similar
to the ResolvedMount
and Mount
Modifier and Type | Method and Description |
---|---|
int |
getPortNumber()
the portNumber that resolved to this ResolvedVirtualHost.
|
String |
getResolvedHostName()
the hostName that resolved to this ResolvedVirtualHost.
|
VirtualHost |
getVirtualHost() |
ResolvedMount |
matchMount(String contextPath,
String requestPath)
matches the current requestPath and resolved virtual host to a
ResolvedMount item. |
VirtualHost getVirtualHost()
String getResolvedHostName()
VirtualHost.getHostName()
as this
hostName might contain not yet filled in wildcards.VirtualHost.getHostName()
int getPortNumber()
ResolvedMount matchMount(String contextPath, String requestPath) throws MatchException
ResolvedMount
item. When the contextPath
param is not null
it
might influence the matching, depending whether Mount.onlyForContextPath()
is not null
contextPath
- the contextPath if needed for matching. This parameter is allowed to be null
requestPath
- ResolvedMount
or null
when none matchesMatchException
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.