public abstract class AbstractSiteUrlFactory extends java.lang.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 java.lang.String |
createSiteUrlInternal(javax.servlet.http.HttpServletRequest request,
java.lang.String serverName,
java.lang.String path) |
protected java.lang.String |
optionalPort(javax.servlet.http.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 java.lang.String optionalPort(javax.servlet.http.HttpServletRequest request)
request
- the HttpServletRequest
to check for a non-standard port.null otherwise
protected java.lang.String createSiteUrlInternal(javax.servlet.http.HttpServletRequest request, java.lang.String serverName, java.lang.String path)