public static class ExecutableServerCall.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ExecutableServerCall |
build()
Build a new
ExecutableServerCall based on the current builder configuration |
ExecutableServerCall.Builder |
withBinaryDownloader(@NonNull BinaryDownloader binaryDownloader)
Add binary download support
|
ExecutableServerCall.Builder |
withBinaryUploader(@NonNull BinaryUploader binaryUploader)
Add binary upload support
|
ExecutableServerCall.Builder |
withTimeout(@NonNull Duration timeout)
Set the timeout when performing a call.
|
public ExecutableServerCall build()
ExecutableServerCall based on the current builder configurationExecutableServerCall instancepublic ExecutableServerCall.Builder withTimeout(@NonNull @NonNull Duration timeout)
ExecutableServerCall.DEFAULT_CALL_TIMEOUTtimeout - The timeout to setpublic ExecutableServerCall.Builder withBinaryUploader(@NonNull @NonNull BinaryUploader binaryUploader)
binaryUploader - the binary uploaderpublic ExecutableServerCall.Builder withBinaryDownloader(@NonNull @NonNull BinaryDownloader binaryDownloader)
binaryDownloader - the binary downloaderCopyright © 2023 SiLA Java Developers. All rights reserved.