public interface CloudPlatform
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName()
Get the application name.
|
String |
getApplicationProcessId()
Get the process ID of the current application.
|
String |
getApplicationUrl()
Get the application url.
|
default HttpSecuritySettings |
getHttpSecuritySettings()
Returns the
HttpSecuritySettings of the CloudPlatform . |
default void |
setEnvironmentVariableReader(Function<String,String> reader)
Set a custom function to read environment variables with.
|
@Nonnull String getApplicationName() throws CloudPlatformException
CloudPlatformException
- If there is an error accessing the application name.@Nonnull String getApplicationUrl() throws CloudPlatformException
CloudPlatformException
- If there is an error accessing the application url.@Nonnull String getApplicationProcessId() throws CloudPlatformException
CloudPlatformException
- If there is an error accessing the process ID.@Nonnull @Beta default HttpSecuritySettings getHttpSecuritySettings()
HttpSecuritySettings
of the CloudPlatform
.HttpSecuritySettings
Copyright © 2021 SAP SE. All rights reserved.