Package org.nekosoft.pdffer.props
Class PdfferWebControllerProps
java.lang.Object
org.nekosoft.pdffer.props.PdfferWebControllerProps
@ConfigurationProperties(prefix="pdffer.web.controller")
@ConstructorBinding
public class PdfferWebControllerProps
extends Object
A Property POJO that reflects the configuration of the web controller.
-
Constructor Summary
ConstructorDescriptionPdfferWebControllerProps(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.
-
Constructor Details
-
PdfferWebControllerProps
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
-
getBaseUri
Gets the base URL for the controller.- Returns:
- base URL
-
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
-