Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public static final class HeadersConfigurer.HstsConfig
- Object
- HeadersConfigurer.HstsConfig
Strict-Transport-Security.Methods
Inherited methods
Method details
maxAgeInSeconds
public HeadersConfigurer.HstsConfig maxAgeInSeconds(long maxAgeInSeconds)How long a browser insists on TLS; a year unless set.
includeSubDomains
public HeadersConfigurer.HstsConfig includeSubDomains(boolean includeSubDomains)preload
public HeadersConfigurer.HstsConfig preload(boolean preload)disable
public void disable()Does not send the header.