docs: @OverrideOnDemand
    protected boolean linkNeedsContextPath (@Nullable final String sHref)
    {
      if (sHref == null)
        return false;
  
      // If prefix is defined and already present no need to change something
      // Or if the server prefix path is just "/" and the links starts with "/"
      // it's also fine
      if (sHref.startsWith (m_sServerPrefixPath))
        return false;
  
      // javascript: and mailto: are handled by URLProtocolRegistry
      if (URLProtocolRegistry.getInstance ().hasKnownProtocol (sHref) || sHref.startsWith ("#"))
        return false;
  
      // Prefix is needed
      return true;
    }