public class BaseURLSourceImpl extends Object implements BaseURLSource
| Constructor and Description | 
|---|
| BaseURLSourceImpl(Request request,
                 String hostname,
                 int hostPort,
                 int secureHostPort) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBaseURL(boolean secure)Returns the base portion of the URL, before the context path and servlet path are appended. | 
public String getBaseURL(boolean secure)
BaseURLSourcegetBaseURL in interface BaseURLSourcesecure - whether a secure "https" or insecure "http" base URL should be returned${project.version} - Copyright © 2003-2015 The Apache Software Foundation.