Package de.xima.fc.config.server.model
Class HttpHeadersDefaults
- java.lang.Object
-
- de.xima.fc.config.server.model.HttpHeadersDefaults
-
- All Implemented Interfaces:
Serializable
public final class HttpHeadersDefaults extends Object implements Serializable
Data model for Master Server (MS) HTTP headers.- Since:
- 8.6.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpHeadersDefaults.HttpHeadersDefaultsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpHeadersDefaults.HttpHeadersDefaultsBuilderbuilder()booleanequals(Object o)BooleangetAllowFramesIntegrationUrls()Flag indicating whether frame integration is allowed for specific URLs.StringgetCspBackend()Content Security Policy header for backend.StringgetCspFrontend()Content Security Policy header for frontend.StringgetCspRoBackend()Content Security Policy Report-Only header for backend.StringgetCspRoFrontend()Content Security Policy Report-Only header for frontend.List<SettingsNamedParam>getCustomHttpHeadersBackend()Custom HTTP headers configured for the backend.List<SettingsNamedParam>getCustomHttpHeadersFrontend()Custom HTTP headers configured for the frontend.List<SettingsParam>getFramesIntegrationUrls()Allowed URLs for frame integration.StringgetPermissionsPolicyBackend()Permissions-Policy header for backend.StringgetPermissionsPolicyFrontend()Permissions-Policy header for frontend.StringgetRefererPolicy()Referrer-Policy header value.StringgetStrictTransportSecurity()Strict-Transport-Security (HSTS) max-age value.BooleangetStrictTransportSecuritySubdomains()Flag indicating whether HSTS should be applied to all subdomains (includeSubDomains).inthashCode()voidsetAllowFramesIntegrationUrls(Boolean allowFramesIntegrationUrls)Flag indicating whether frame integration is allowed for specific URLs.voidsetCspBackend(String cspBackend)Content Security Policy header for backend.voidsetCspFrontend(String cspFrontend)Content Security Policy header for frontend.voidsetCspRoBackend(String cspRoBackend)Content Security Policy Report-Only header for backend.voidsetCspRoFrontend(String cspRoFrontend)Content Security Policy Report-Only header for frontend.voidsetCustomHttpHeadersBackend(List<SettingsNamedParam> customHttpHeadersBackend)Custom HTTP headers configured for the backend.voidsetCustomHttpHeadersFrontend(List<SettingsNamedParam> customHttpHeadersFrontend)Custom HTTP headers configured for the frontend.voidsetFramesIntegrationUrls(List<SettingsParam> framesIntegrationUrls)Allowed URLs for frame integration.voidsetPermissionsPolicyBackend(String permissionsPolicyBackend)Permissions-Policy header for backend.voidsetPermissionsPolicyFrontend(String permissionsPolicyFrontend)Permissions-Policy header for frontend.voidsetRefererPolicy(String refererPolicy)Referrer-Policy header value.voidsetStrictTransportSecurity(String strictTransportSecurity)Strict-Transport-Security (HSTS) max-age value.voidsetStrictTransportSecuritySubdomains(Boolean strictTransportSecuritySubdomains)Flag indicating whether HSTS should be applied to all subdomains (includeSubDomains).StringtoString()
-
-
-
Method Detail
-
builder
public static HttpHeadersDefaults.HttpHeadersDefaultsBuilder builder()
-
getCustomHttpHeadersFrontend
public List<SettingsNamedParam> getCustomHttpHeadersFrontend()
Custom HTTP headers configured for the frontend.
-
getCustomHttpHeadersBackend
public List<SettingsNamedParam> getCustomHttpHeadersBackend()
Custom HTTP headers configured for the backend.
-
getCspRoFrontend
public String getCspRoFrontend()
Content Security Policy Report-Only header for frontend.
-
getCspRoBackend
public String getCspRoBackend()
Content Security Policy Report-Only header for backend.
-
getCspFrontend
public String getCspFrontend()
Content Security Policy header for frontend.
-
getCspBackend
public String getCspBackend()
Content Security Policy header for backend.
-
getStrictTransportSecurity
public String getStrictTransportSecurity()
Strict-Transport-Security (HSTS) max-age value.
-
getStrictTransportSecuritySubdomains
public Boolean getStrictTransportSecuritySubdomains()
Flag indicating whether HSTS should be applied to all subdomains (includeSubDomains).
-
getRefererPolicy
public String getRefererPolicy()
Referrer-Policy header value.
-
getPermissionsPolicyBackend
public String getPermissionsPolicyBackend()
Permissions-Policy header for backend.
-
getPermissionsPolicyFrontend
public String getPermissionsPolicyFrontend()
Permissions-Policy header for frontend.
-
getAllowFramesIntegrationUrls
public Boolean getAllowFramesIntegrationUrls()
Flag indicating whether frame integration is allowed for specific URLs.
-
getFramesIntegrationUrls
public List<SettingsParam> getFramesIntegrationUrls()
Allowed URLs for frame integration.
-
setCustomHttpHeadersFrontend
public void setCustomHttpHeadersFrontend(List<SettingsNamedParam> customHttpHeadersFrontend)
Custom HTTP headers configured for the frontend.
-
setCustomHttpHeadersBackend
public void setCustomHttpHeadersBackend(List<SettingsNamedParam> customHttpHeadersBackend)
Custom HTTP headers configured for the backend.
-
setCspRoFrontend
public void setCspRoFrontend(String cspRoFrontend)
Content Security Policy Report-Only header for frontend.
-
setCspRoBackend
public void setCspRoBackend(String cspRoBackend)
Content Security Policy Report-Only header for backend.
-
setCspFrontend
public void setCspFrontend(String cspFrontend)
Content Security Policy header for frontend.
-
setCspBackend
public void setCspBackend(String cspBackend)
Content Security Policy header for backend.
-
setStrictTransportSecurity
public void setStrictTransportSecurity(String strictTransportSecurity)
Strict-Transport-Security (HSTS) max-age value.
-
setStrictTransportSecuritySubdomains
public void setStrictTransportSecuritySubdomains(Boolean strictTransportSecuritySubdomains)
Flag indicating whether HSTS should be applied to all subdomains (includeSubDomains).
-
setRefererPolicy
public void setRefererPolicy(String refererPolicy)
Referrer-Policy header value.
-
setPermissionsPolicyBackend
public void setPermissionsPolicyBackend(String permissionsPolicyBackend)
Permissions-Policy header for backend.
-
setPermissionsPolicyFrontend
public void setPermissionsPolicyFrontend(String permissionsPolicyFrontend)
Permissions-Policy header for frontend.
-
setAllowFramesIntegrationUrls
public void setAllowFramesIntegrationUrls(Boolean allowFramesIntegrationUrls)
Flag indicating whether frame integration is allowed for specific URLs.
-
setFramesIntegrationUrls
public void setFramesIntegrationUrls(List<SettingsParam> framesIntegrationUrls)
Allowed URLs for frame integration.
-
-