public static final class RemoteOfficeManager.Builder extends org.jodconverter.core.office.AbstractOfficeManagerPool.AbstractOfficeManagerPoolBuilder<RemoteOfficeManager.Builder>
RemoteOfficeManager.RemoteOfficeManager| Modifier and Type | Method and Description |
|---|---|
@NonNull RemoteOfficeManager |
build() |
@NonNull RemoteOfficeManager.Builder |
connectTimeout(@Nullable Long connectTimeout)
The timeout in milliseconds until a connection is established.
|
@NonNull RemoteOfficeManager.Builder |
poolSize(@Nullable Integer poolSize)
Specifies the pool size of the manager.
|
@NonNull RemoteOfficeManager.Builder |
socketTimeout(@Nullable Long socketTimeout)
Specifies the socket timeout (
SO_TIMEOUT) in milliseconds, which is the timeout for
waiting for data or, put differently, a maximum period inactivity between two consecutive
data packets). |
@NonNull RemoteOfficeManager.Builder |
sslConfig(@Nullable SslConfig sslConfig)
Specifies the SSL configuration to secure communication with LibreOffice Online.
|
@NonNull RemoteOfficeManager.Builder |
urlConnection(@Nullable String urlConnection)
Specifies the URL connection of the manager.
|
public @NonNull RemoteOfficeManager build()
build in class org.jodconverter.core.office.AbstractOfficeManagerPool.AbstractOfficeManagerPoolBuilder<RemoteOfficeManager.Builder>public @NonNull RemoteOfficeManager.Builder poolSize(@Nullable Integer poolSize)
poolSize - The pool size.public @NonNull RemoteOfficeManager.Builder urlConnection(@Nullable String urlConnection)
urlConnection - The URL connection.public @NonNull RemoteOfficeManager.Builder sslConfig(@Nullable SslConfig sslConfig)
sslConfig - The SSL configuration.public @NonNull RemoteOfficeManager.Builder connectTimeout(@Nullable Long connectTimeout)
Default: 60000 (1 minute)
connectTimeout - The connect timeout, in milliseconds.public @NonNull RemoteOfficeManager.Builder socketTimeout(@Nullable Long socketTimeout)
SO_TIMEOUT) in milliseconds, which is the timeout for
waiting for data or, put differently, a maximum period inactivity between two consecutive
data packets). A timeout value of zero is interpreted as an infinite timeout. A negative
value is interpreted as undefined (system default).
Default: 120000 (2 minutes)
socketTimeout - The socket timeout, in milliseconds.Copyright © 2016 - present; JODConverter.org. All rights reserved.