Package net.interfax.rest.client.impl
Class AbstractInterFAXClient
- java.lang.Object
-
- net.interfax.rest.client.impl.AbstractInterFAXClient
-
- Direct Known Subclasses:
DefaultInterFAXClient
public abstract class AbstractInterFAXClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccountsBalanceEndpointprotected Stringhostnameprotected StringinboundFaxesEmailsEndpointprotected StringinboundFaxesEndpointprotected StringinboundFaxesImageEndpointprotected StringinboundFaxesMarkEndpointprotected StringinboundFaxesResendEndpointprotected StringoutboundDocumentsEndpointprotected StringoutboundFaxesCancelEndpointprotected StringoutboundFaxesCompletedEndpointprotected StringoutboundFaxesEndpointprotected StringoutboundFaxesHideEndpointprotected StringoutboundFaxesRecordEndpointprotected StringoutboundFaxesResendEndpointprotected StringoutboundFaxImageEndpointprotected StringoutboundSearchEndpointprotected Stringpasswordprotected intportprotected Stringschemeprotected Stringusername
-
Constructor Summary
Constructors Constructor Description AbstractInterFAXClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URIgetOutboundDocumentsUri(File fileToUpload, Optional<DocumentUploadSessionOptions> options)protected URIgetSendFaxUri(String faxNumber, Optional<SendFaxOptions> options)protected URIgetUploadedDocumentListUri(Optional<GetUploadedDocumentsListOptions> options)protected voidinitialiseCredentials()protected voidreadConfigAndInitializeEndpoints(ClientConfig clientConfig)
-
-
-
Field Detail
-
username
protected String username
-
password
protected String password
-
scheme
protected String scheme
-
hostname
protected String hostname
-
port
protected int port
-
outboundFaxesEndpoint
protected String outboundFaxesEndpoint
-
outboundFaxesCompletedEndpoint
protected String outboundFaxesCompletedEndpoint
-
outboundFaxesRecordEndpoint
protected String outboundFaxesRecordEndpoint
-
outboundFaxImageEndpoint
protected String outboundFaxImageEndpoint
-
outboundFaxesCancelEndpoint
protected String outboundFaxesCancelEndpoint
-
outboundFaxesResendEndpoint
protected String outboundFaxesResendEndpoint
-
outboundFaxesHideEndpoint
protected String outboundFaxesHideEndpoint
-
outboundSearchEndpoint
protected String outboundSearchEndpoint
-
outboundDocumentsEndpoint
protected String outboundDocumentsEndpoint
-
accountsBalanceEndpoint
protected String accountsBalanceEndpoint
-
inboundFaxesEndpoint
protected String inboundFaxesEndpoint
-
inboundFaxesImageEndpoint
protected String inboundFaxesImageEndpoint
-
inboundFaxesEmailsEndpoint
protected String inboundFaxesEmailsEndpoint
-
inboundFaxesMarkEndpoint
protected String inboundFaxesMarkEndpoint
-
inboundFaxesResendEndpoint
protected String inboundFaxesResendEndpoint
-
-
Method Detail
-
getSendFaxUri
protected URI getSendFaxUri(String faxNumber, Optional<SendFaxOptions> options) throws URISyntaxException
- Throws:
URISyntaxException
-
getOutboundDocumentsUri
protected URI getOutboundDocumentsUri(File fileToUpload, Optional<DocumentUploadSessionOptions> options)
-
getUploadedDocumentListUri
protected URI getUploadedDocumentListUri(Optional<GetUploadedDocumentsListOptions> options)
-
initialiseCredentials
protected void initialiseCredentials()
-
readConfigAndInitializeEndpoints
protected void readConfigAndInitializeEndpoints(ClientConfig clientConfig)
-
-