public interface HSTSHandler extends SecurityPolicyHandler
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_AGE |
Modifier and Type | Method and Description |
---|---|
static HSTSHandler |
create()
Creates a new instance that does not consider the configuration for sub domains.
|
static HSTSHandler |
create(boolean includeSubDomains)
Creates a new instance that shall consider the configuration for sub domains.
|
static HSTSHandler |
create(long maxAge,
boolean includeSubDomains)
Creates a new instance that shall consider the configuration for sub domains.
|
static final long DEFAULT_MAX_AGE
static HSTSHandler create(long maxAge, boolean includeSubDomains)
maxAge
- max age to attribute to the headerincludeSubDomains
- consider sub domains when adding the headerstatic HSTSHandler create(boolean includeSubDomains)
includeSubDomains
- consider sub domains when adding the headerstatic HSTSHandler create()
Copyright © 2024 Eclipse. All rights reserved.