Package net.webpdf.wsclient.openapi
Class ApplicationConfigChromiumBridge
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ApplicationConfigChromiumBridge
-
public class ApplicationConfigChromiumBridge extends Object
Defines the settings for the Chromium bridge. The Chromium bridge is used for converting emails and HTML documents.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_HOST_ADDRESSstatic StringJSON_PROPERTY_NO_SANDBOXstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_PORT
-
Constructor Summary
Constructors Constructor Description ApplicationConfigChromiumBridge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfigChromiumBridgeenabled(Boolean enabled)booleanequals(Object o)@Nullable BooleangetEnabled()If enabled, then the Chromium bridge is activated.@Nullable StringgetHostAddress()The IP address on which Chromium should be reachable.@Nullable BooleangetNoSandbox()Sets this option whether the Chromium process should run in a sandbox or not.@Nullable StringgetPath()Sets a custom base path for the Chromium application.@Nullable IntegergetPort()The port on which Chromium should listen for requests.inthashCode()ApplicationConfigChromiumBridgehostAddress(String hostAddress)ApplicationConfigChromiumBridgenoSandbox(Boolean noSandbox)ApplicationConfigChromiumBridgepath(String path)ApplicationConfigChromiumBridgeport(Integer port)voidsetEnabled(Boolean enabled)voidsetHostAddress(String hostAddress)voidsetNoSandbox(Boolean noSandbox)voidsetPath(String path)voidsetPort(Integer port)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HOST_ADDRESS
public static final String JSON_PROPERTY_HOST_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NO_SANDBOX
public static final String JSON_PROPERTY_NO_SANDBOX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
enabled
public ApplicationConfigChromiumBridge enabled(Boolean enabled)
-
getEnabled
@Nullable public @Nullable Boolean getEnabled()
If enabled, then the Chromium bridge is activated.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
hostAddress
public ApplicationConfigChromiumBridge hostAddress(String hostAddress)
-
getHostAddress
@Nullable public @Nullable String getHostAddress()
The IP address on which Chromium should be reachable.- Returns:
- hostAddress
-
setHostAddress
public void setHostAddress(String hostAddress)
-
noSandbox
public ApplicationConfigChromiumBridge noSandbox(Boolean noSandbox)
-
getNoSandbox
@Nullable public @Nullable Boolean getNoSandbox()
Sets this option whether the Chromium process should run in a sandbox or not. **Important:** Be aware that running Chromium outside a sandbox can be a security risk. Proceed with caution!- Returns:
- noSandbox
-
setNoSandbox
public void setNoSandbox(Boolean noSandbox)
-
path
public ApplicationConfigChromiumBridge path(String path)
-
getPath
@Nullable public @Nullable String getPath()
Sets a custom base path for the Chromium application.- Returns:
- path
-
setPath
public void setPath(String path)
-
port
public ApplicationConfigChromiumBridge port(Integer port)
-
getPort
@Nullable public @Nullable Integer getPort()
The port on which Chromium should listen for requests.- Returns:
- port
-
setPort
public void setPort(Integer port)
-
-