]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7866 Deprecate Server#isSecured()
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 13 Jul 2016 17:25:56 +0000 (19:25 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 13 Jul 2016 17:25:56 +0000 (19:25 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java

index 5ac727afd9e1bd9a000ab48e8bbe1ff31d919f35..f4c45b9fe0e1ec43d6cd8c94a756eaa3e5fd8398 100644 (file)
@@ -66,7 +66,9 @@ public abstract class Server {
    * Return whether or not the {#getPublicRootUrl} is started with https.
    *
    * @since 5.4
+   * @deprecated since 5.6, use instead {@link javax.servlet.http.HttpServletRequest#getHeader(String)} and check that X-Forwarded-Proto header is set to "https".
    */
+  @Deprecated
   public abstract boolean isSecured();
 
   /**