Class UrlConverterRestWebService<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<OperationUrlConverterOperation,OperationUrlConverter,T_REST_DOCUMENT>
-
- net.webpdf.wsclient.webservice.rest.UrlConverterRestWebService<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>,OperationUrlConverter,T_REST_DOCUMENT,OperationBilling,OperationPdfPassword,OperationSettings>
public class UrlConverterRestWebService<T_REST_DOCUMENT extends RestDocument> extends RestWebService<OperationUrlConverterOperation,OperationUrlConverter,T_REST_DOCUMENT>
An instance ofUrlConverterRestWebServicewraps a wsclient connection to the webPDF webservice endpointWebServiceType.URLCONVERTER, usingWebServiceProtocol.RESTand expecting aRestDocumentas the result.
-
-
Constructor Summary
Constructors Constructor Description UrlConverterRestWebService(@NotNull RestSession<T_REST_DOCUMENT> session)Creates aUrlConverterRestWebServicefor the givenRestSession.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable OperationBillinggetBilling()Returns theOperationBillingof the current webservice.@NotNull OperationUrlConvertergetOperationParameters()* Returns theUrlConverterRestWebServicespecificOperationUrlConverter, which allows setting parameters for the webservice execution.@Nullable OperationPdfPasswordgetPassword()Returns theOperationPdfPasswordof the current webservice.@Nullable OperationSettingsgetSettings()Returns theOperationSettingsof the current webservice.protected @NotNull OperationUrlConverterOperationinitOperation()Initializes and prepares the execution of thisUrlConverterRestWebService.voidsetBilling(@Nullable OperationBilling billing)Sets theOperationBillingfor the current webservice.voidsetOperationParameters(@Nullable OperationUrlConverter operation)Sets theUrlConverterRestWebServicespecificOperationUrlConverterelement, 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
-
UrlConverterRestWebService
public UrlConverterRestWebService(@NotNull @NotNull RestSession<T_REST_DOCUMENT> session)Creates aUrlConverterRestWebServicefor the givenRestSession.- Parameters:
session- TheRestSessionaUrlConverterRestWebServiceshall be created for.
-
-
Method Detail
-
getOperationParameters
@NotNull public @NotNull OperationUrlConverter getOperationParameters()
* Returns theUrlConverterRestWebServicespecificOperationUrlConverter, which allows setting parameters for the webservice execution.- Returns:
- The
OperationUrlConverteroperation parameters.
-
setOperationParameters
public void setOperationParameters(@Nullable @Nullable OperationUrlConverter operation)Sets theUrlConverterRestWebServicespecificOperationUrlConverterelement, which allows setting parameters for the webservice execution.- Parameters:
operation- Sets theOperationUrlConverteroperation 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 OperationUrlConverterOperation initOperation()
Initializes and prepares the execution of thisUrlConverterRestWebService.- Specified by:
initOperationin classAbstractWebService<RestSession<T_REST_DOCUMENT extends RestDocument>,OperationUrlConverterOperation,OperationUrlConverter,T_REST_DOCUMENT extends RestDocument,OperationBilling,OperationPdfPassword,OperationSettings>- Returns:
- The prepared
OperationUrlConverterOperation.
-
-