|
|
@ -67,7 +67,6 @@ public enum CloudPlatform {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Determines if the platform is active (i.e. the application is running in it).
|
|
|
|
* Determines if the platform is active (i.e. the application is running in it).
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param environment the environment
|
|
|
|
* @param environment the environment
|
|
|
|
* @return if the platform is active.
|
|
|
|
* @return if the platform is active.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -76,7 +75,6 @@ public enum CloudPlatform {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Returns if the platform is behind a load balancer and uses
|
|
|
|
* Returns if the platform is behind a load balancer and uses
|
|
|
|
* {@literal X-Forwarded-For} headers.
|
|
|
|
* {@literal X-Forwarded-For} headers.
|
|
|
|
*
|
|
|
|
|
|
|
|
* @return if {@literal X-Forwarded-For} headers are used
|
|
|
|
* @return if {@literal X-Forwarded-For} headers are used
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public boolean isUsingForwardHeaders() {
|
|
|
|
public boolean isUsingForwardHeaders() {
|
|
|
@ -85,7 +83,6 @@ public enum CloudPlatform {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Returns the active {@link CloudPlatform} or {@code null} if one cannot be deduced.
|
|
|
|
* Returns the active {@link CloudPlatform} or {@code null} if one cannot be deduced.
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param environment the environment
|
|
|
|
* @param environment the environment
|
|
|
|
* @return the {@link CloudPlatform} or {@code null}
|
|
|
|
* @return the {@link CloudPlatform} or {@code null}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|