Class VirtualHostMatch
java.lang.Object
com.aoapps.servlet.firewall.virtualhosts.VirtualHostMatch
The result of a call to
VirtualHostManager.search(javax.servlet.http.HttpServletRequest)
.-
Method Summary
Modifier and TypeMethodDescriptionGets the partial URL that matched.getUrl()
Gets thecompleted URL
that matched, with anynull
fields provided from therequest
viaHttpServletRequestFieldSource
.Gets thevirtual host
that matched the request.Gets thevirtual path
within the virtual host that matched, which is the part of the request path (servletPath + pathInfo) past the prefix (and including the prefix's trailing slash).toString()
-
Method Details
-
toString
-
getEnvironment
-
getPartialURL
Gets the partial URL that matched. This may contain null fields and is not necessarilycomplete
. -
getUrl
Gets thecompleted URL
that matched, with anynull
fields provided from therequest
viaHttpServletRequestFieldSource
. -
getVirtualHost
Gets thevirtual host
that matched the request. -
getVirtualPath
Gets thevirtual path
within the virtual host that matched, which is the part of the request path (servletPath + pathInfo) past the prefix (and including the prefix's trailing slash).This will always have a
domain
matching thedomain of the virtual host
.
-