diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-07-13 19:25:56 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-07-13 19:25:56 +0200 |
commit | 6d28b0a28573c954ab8d253e66d0fcca15b5b30b (patch) | |
tree | 8fa7074ed54f0d5f097ea6f282b1e7aefbd5a8b6 /sonar-plugin-api/src | |
parent | 48191a7dd1e630ac53f73418852fc7ea6edd2545 (diff) | |
download | sonarqube-6d28b0a28573c954ab8d253e66d0fcca15b5b30b.tar.gz sonarqube-6d28b0a28573c954ab8d253e66d0fcca15b5b30b.zip |
SONAR-7866 Deprecate Server#isSecured()
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java index 5ac727afd9e..f4c45b9fe0e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/Server.java @@ -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(); /** |