might be best with examples.
1. in my RTE component, I created a link to "/content/mysite/en".
2. using the built-in image component, I configured to link to "/content/mysite/en".
in both examples, the rendered page uses HTTP. I want it to use HTTPS. I'm trying to avoid writing a custom Java code if there's a built-in solution already available.
PS. I had a look at sling mappings (which I'm done in the past but had to revisit) and I'm unsure if it can do what I want.