public abstract class AbstractSiteUrlFactory extends Object implements SiteUrlFactory
SiteUrlFactory
interface.
Doesn't mandate the strategy for constructing different site URLs;
simply implements common functionality.Constructor and Description |
---|
AbstractSiteUrlFactory() |
Modifier and Type | Method and Description |
---|---|
protected String |
createSiteUrlInternal(HttpServletRequest request,
String serverName,
String path) |
protected String |
optionalPort(HttpServletRequest request)
Returns the HTTP port specified on the given request if it's a non-standard port.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSiteUrl, isRequestForSite
protected String optionalPort(HttpServletRequest request)
request
- the HttpServletRequest
to check for a non-standard port.null otherwise
protected String createSiteUrlInternal(HttpServletRequest request, String serverName, String path)