Class PdfferWebControllerProps
java.lang.Object
org.nekosoft.pdffer.props.PdfferWebControllerProps
@ConfigurationProperties(prefix="pdffer.web.controller")
public class PdfferWebControllerProps
extends Object
A Property POJO that reflects the configuration of the web controller.
-
Constructor Summary
ConstructorsConstructorDescriptionPdfferWebControllerProps(boolean enabled, String baseUri, String downloadUri, String saveUri) Instantiates a new PDFfer web controller props. -
Method Summary
Modifier and TypeMethodDescriptionGets the base URL for the controller.Gets the URL for the download endpoint of the controller.Gets the URL for the save endpoint of the controller.booleanIndicates whether the web controller should be present.
-
Constructor Details
-
PdfferWebControllerProps
@ConstructorBinding public PdfferWebControllerProps(boolean enabled, String baseUri, String downloadUri, String saveUri) Instantiates a new PDFfer web controller props.- Parameters:
baseUri- the base URL of the controllerdownloadUri- the download URL of the controllersaveUri- the save URL of the controller
-
-
Method Details
-
isEnabled
public boolean isEnabled()Indicates whether the web controller should be present.- Returns:
trueif the web controller should be present
-
getBaseUri
-
getDownloadUri
Gets the URL for the download endpoint of the controller.- Returns:
- the download URL
-
getSaveUri
Gets the URL for the save endpoint of the controller.- Returns:
- the save URL
-