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 URLthat matched, with anynullfields provided from therequestviaHttpServletRequestFieldSource.Gets thevirtual hostthat matched the request.Gets thevirtual pathwithin 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 URLthat matched, with anynullfields provided from therequestviaHttpServletRequestFieldSource. -
getVirtualHost
Gets thevirtual hostthat matched the request. -
getVirtualPath
Gets thevirtual pathwithin 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
domainmatching thedomain of the virtual host.
-
