Class BarcodeRestWebService<T_REST_DOCUMENT extends RestDocument>
- java.lang.Object
-
- net.webpdf.wsclient.webservice.AbstractWebService<RestSession<T_REST_DOCUMENT>,T_OPERATION_DATA,T_OPERATION_PARAMETER,T_REST_DOCUMENT,OperationBilling,OperationPdfPassword,OperationSettings>
-
- net.webpdf.wsclient.webservice.rest.RestWebService<OperationBarcodeOperation,OperationBarcode,T_REST_DOCUMENT>
-
- net.webpdf.wsclient.webservice.rest.BarcodeRestWebService<T_REST_DOCUMENT>
-
- Type Parameters:
T_REST_DOCUMENT- The expectedRestDocumenttype for the documents used by the webPDF server.
- All Implemented Interfaces:
WebService<RestSession<T_REST_DOCUMENT>,OperationBarcode,T_REST_DOCUMENT,OperationBilling,OperationPdfPassword,OperationSettings>
public class BarcodeRestWebService<T_REST_DOCUMENT extends RestDocument> extends RestWebService<OperationBarcodeOperation,OperationBarcode,T_REST_DOCUMENT>
An instance ofBarcodeRestWebServicewraps a wsclient connection to the webPDF webservice endpointWebServiceType.BARCODE, usingWebServiceProtocol.RESTand expecting aRestDocumentas the result.
-
-
Constructor Summary
Constructors Constructor Description BarcodeRestWebService(@NotNull RestSession<T_REST_DOCUMENT> session)Creates aBarcodeRestWebServicefor the givenRestSession
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable OperationBillinggetBilling()Returns theOperationBillingof the current webservice.@NotNull OperationBarcodegetOperationParameters()Returns theBarcodeRestWebServicespecificOperationBarcode, which allows setting parameters for the webservice execution.@Nullable OperationPdfPasswordgetPassword()Returns theOperationPdfPasswordof the current webservice.@Nullable OperationSettingsgetSettings()Returns theOperationSettingsof the current webservice.protected @NotNull OperationBarcodeOperationinitOperation()Initializes and prepares the execution of thisBarcodeRestWebService.voidsetBilling(@Nullable OperationBilling billing)Sets theOperationBillingfor the current webservice.voidsetOperationParameters(@Nullable OperationBarcode operation)Sets theBarcodeRestWebServicespecificOperationBarcodeelement, which allows setting parameters for the webservice execution.voidsetPassword(@Nullable OperationPdfPassword password)Sets theOperationPdfPasswordfor the current webservice.voidsetSettings(@Nullable OperationSettings settings)Sets theOperationSettingsfor the current webservice.-
Methods inherited from class net.webpdf.wsclient.webservice.rest.RestWebService
process, process, process
-
Methods inherited from class net.webpdf.wsclient.webservice.AbstractWebService
getAdditionalParameter, getHeaders, getOperationData, getSession, getWebServiceType
-
-
-
-
Constructor Detail
-
BarcodeRestWebService
public BarcodeRestWebService(@NotNull @NotNull RestSession<T_REST_DOCUMENT> session)Creates aBarcodeRestWebServicefor the givenRestSession- Parameters:
session- TheRestSessionaBarcodeRestWebServiceshall be created for.
-
-
Method Detail
-
getOperationParameters
@NotNull public @NotNull OperationBarcode getOperationParameters()
Returns theBarcodeRestWebServicespecificOperationBarcode, which allows setting parameters for the webservice execution.- Returns:
- The
OperationBarcodeoperation parameters.
-
setOperationParameters
public void setOperationParameters(@Nullable @Nullable OperationBarcode operation)Sets theBarcodeRestWebServicespecificOperationBarcodeelement, which allows setting parameters for the webservice execution.- Parameters:
operation- Sets theOperationBarcodeoperation parameters.
-
getPassword
@Nullable public @Nullable OperationPdfPassword getPassword()
Returns theOperationPdfPasswordof the current webservice.- Returns:
- the
OperationPdfPasswordof the current webservice.
-
setPassword
public void setPassword(@Nullable @Nullable OperationPdfPassword password)Sets theOperationPdfPasswordfor the current webservice.- Parameters:
password- TheOperationPdfPasswordfor the current webservice.
-
getBilling
@Nullable public @Nullable OperationBilling getBilling()
Returns theOperationBillingof the current webservice.- Returns:
- the
OperationBillingof the current webservice.
-
setBilling
public void setBilling(@Nullable @Nullable OperationBilling billing)Sets theOperationBillingfor the current webservice.- Parameters:
billing- TheOperationBillingfor the current webservice.
-
getSettings
@Nullable public @Nullable OperationSettings getSettings()
Returns theOperationSettingsof the current webservice.- Returns:
- the
OperationSettingsof the current webservice.
-
setSettings
public void setSettings(@Nullable @Nullable OperationSettings settings)Sets theOperationSettingsfor the current webservice.- Parameters:
settings- TheOperationSettingsfor the current webservice.
-
initOperation
@NotNull protected @NotNull OperationBarcodeOperation initOperation()
Initializes and prepares the execution of thisBarcodeRestWebService.- Specified by:
initOperationin classAbstractWebService<RestSession<T_REST_DOCUMENT extends RestDocument>,OperationBarcodeOperation,OperationBarcode,T_REST_DOCUMENT extends RestDocument,OperationBilling,OperationPdfPassword,OperationSettings>- Returns:
- The prepared
OperationBarcodeOperation.
-
-