@SuppressWarnings("nls")
    protected String getDefaultEndpoint(HttpServletRequest request) {
        return request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/apiman";
    }
Gets the default API endpoint by using information the current
{@link HttpServletRequest}.

@param request
manager/ui/war/src/main/java/io/apiman/manager/ui/server/servlets/AbstractUIServlet.java