Package de.xima.fc.config.server
Class FSHttpHeadersFileConfigSource
- java.lang.Object
-
- de.xima.fc.config.server.FSHttpHeadersFileConfigSource
-
public final class FSHttpHeadersFileConfigSource extends Object
Manages reading and writing frontend server HTTP headers to and from afile config.- Since:
- 8.6.0
-
-
Constructor Summary
Constructors Constructor Description FSHttpHeadersFileConfigSource()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpHeadersFSload(de.xima.cmn.props.FileBasedPropertiesConfiguration config)Get frontend server HTTP headers from configstatic voidsave(HttpHeadersFS headers, de.xima.cmn.props.FileBasedPropertiesConfiguration config)Save frontend server HTTP headers to config
-
-
-
Method Detail
-
save
public static void save(HttpHeadersFS headers, de.xima.cmn.props.FileBasedPropertiesConfiguration config) throws org.apache.commons.configuration2.ex.ConfigurationException
Save frontend server HTTP headers to config- Parameters:
headers- frontend server HTTP headers for saveconfig- config where the headers will be written- Throws:
org.apache.commons.configuration2.ex.ConfigurationException
-
load
public static HttpHeadersFS load(de.xima.cmn.props.FileBasedPropertiesConfiguration config) throws org.apache.commons.configuration2.ex.ConfigurationException
Get frontend server HTTP headers from config- Parameters:
config- HTTP headers quelle- Throws:
org.apache.commons.configuration2.ex.ConfigurationException
-
-