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 of the backend (configuration UI and user portal) 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.EFrameIntegrationModegetFrameIntegrationModeFrontend()Whether forms (frontend) may be embedded in an iframe on other websites.List<SettingsParam>getFramesIntegrationUrls()Allowed URLs for frame integration of the backend (configuration UI and user portal).List<SettingsParam>getFramesIntegrationUrlsFrontend()Allowed URLs for frame integration of forms (frontend), used withEFrameIntegrationMode.URLS.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 of the backend (configuration UI and user portal) 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.voidsetFrameIntegrationModeFrontend(EFrameIntegrationMode frameIntegrationModeFrontend)Whether forms (frontend) may be embedded in an iframe on other websites.voidsetFramesIntegrationUrls(List<SettingsParam> framesIntegrationUrls)Allowed URLs for frame integration of the backend (configuration UI and user portal).voidsetFramesIntegrationUrlsFrontend(List<SettingsParam> framesIntegrationUrlsFrontend)Allowed URLs for frame integration of forms (frontend), used withEFrameIntegrationMode.URLS.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 of the backend (configuration UI and user portal) is allowed for specific URLs. SeeframeIntegrationModeFrontendfor forms (frontend).
-
getFramesIntegrationUrls
public List<SettingsParam> getFramesIntegrationUrls()
Allowed URLs for frame integration of the backend (configuration UI and user portal). SeeframesIntegrationUrlsFrontendfor forms (frontend).
-
getFrameIntegrationModeFrontend
public EFrameIntegrationMode getFrameIntegrationModeFrontend()
Whether forms (frontend) may be embedded in an iframe on other websites.- Since:
- 8.6.2
-
getFramesIntegrationUrlsFrontend
public List<SettingsParam> getFramesIntegrationUrlsFrontend()
Allowed URLs for frame integration of forms (frontend), used withEFrameIntegrationMode.URLS.- Since:
- 8.6.2
-
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 of the backend (configuration UI and user portal) is allowed for specific URLs. SeeframeIntegrationModeFrontendfor forms (frontend).
-
setFramesIntegrationUrls
public void setFramesIntegrationUrls(List<SettingsParam> framesIntegrationUrls)
Allowed URLs for frame integration of the backend (configuration UI and user portal). SeeframesIntegrationUrlsFrontendfor forms (frontend).
-
setFrameIntegrationModeFrontend
public void setFrameIntegrationModeFrontend(EFrameIntegrationMode frameIntegrationModeFrontend)
Whether forms (frontend) may be embedded in an iframe on other websites.- Since:
- 8.6.2
-
setFramesIntegrationUrlsFrontend
public void setFramesIntegrationUrlsFrontend(List<SettingsParam> framesIntegrationUrlsFrontend)
Allowed URLs for frame integration of forms (frontend), used withEFrameIntegrationMode.URLS.- Since:
- 8.6.2
-
-