public interface DocumentServerClient
| Modifier and Type | Method and Description |
|---|---|
void |
applySettings(DocumentServerClientSettings documentServerClientSettings)
Applies the specified document server client settings.
|
void |
applySettings(Settings settings)
Applies the specified settings to the document server client.
|
CommandResponse |
command(CommandRequest commandRequest)
Executes a command on the document server.
|
ConvertResponse |
convert(ConvertRequest convertRequest)
Converts a document according to the specified conversion parameters.
|
DocBuilderResponse |
docbuilder(DocBuilderRequest docBuilderRequest)
Executes a DocBuilder request to perform document processing operations.
|
byte[] |
getFile(String fileUrl)
Retrieves a file from the specified path as a byte array.
|
int |
getFile(String fileUrl,
OutputStream outputStream)
Retrieves a file from the specified path and writes it to the provided output stream.
|
Boolean |
healthcheck()
Performs a health check of the document server.
|
void applySettings(Settings settings)
settings - The settings object containing configuration parameters to be appliedIllegalArgumentException - if the settings parameter is nullvoid applySettings(DocumentServerClientSettings documentServerClientSettings)
documentServerClientSettings - The document server client settings to be appliedIllegalArgumentException - if the documentServerClientSettings parameter is nullBoolean healthcheck()
byte[] getFile(String fileUrl)
fileUrl - The fileUrl to the file to be retrievedint getFile(String fileUrl, OutputStream outputStream)
fileUrl - The fileUrl to the file to be retrievedoutputStream - The output stream to write the file contents toConvertResponse convert(ConvertRequest convertRequest)
convertRequest - The conversion request containing parameters and settingsCommandResponse command(CommandRequest commandRequest)
commandRequest - The command request containing the command and parametersDocBuilderResponse docbuilder(DocBuilderRequest docBuilderRequest)
docBuilderRequest - The request containing DocBuilder instructions and parametersCopyright © 2023–2025. All rights reserved.