public class RemoteOfficeConnection extends Object implements RemoteOfficeContext
| Constructor and Description |
|---|
RemoteOfficeConnection(@NonNull org.apache.http.impl.client.CloseableHttpClient httpClient,
@NonNull RequestConfig requestConfig)
Constructs a new connection with the specified client and URL.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull org.apache.http.client.HttpClient |
getHttpClient()
Gets the HTTP client responsible for request execution to the office server.
|
@NonNull RequestConfig |
getRequestConfig()
Gets the request configuration.
|
public RemoteOfficeConnection(@NonNull org.apache.http.impl.client.CloseableHttpClient httpClient,
@NonNull RequestConfig requestConfig)
httpClient - The HTTP client (already initialized) used to communicate with the
LibreOffice Online server.requestConfig - The request configuration for the conversion.public @NonNull org.apache.http.client.HttpClient getHttpClient()
RemoteOfficeContextgetHttpClient in interface RemoteOfficeContextpublic @NonNull RequestConfig getRequestConfig()
RemoteOfficeContextgetRequestConfig in interface RemoteOfficeContextCopyright © 2016 - present; JODConverter.org. All rights reserved.