java.lang.Object
org.apache.arrow.flight.FlightClient.Builder
- Enclosing class:
- FlightClient
A builder for Flight clients.
-
Method Summary
Modifier and TypeMethodDescriptionallocator
(BufferAllocator allocator) build()
Create the client from this builder.clientCertificate
(InputStream clientCertificate, InputStream clientKey) Set the trusted TLS certificates.intercept
(FlightClientMiddleware.Factory factory) maxInboundMessageSize
(int maxSize) Set the maximum inbound message size.overrideHostname
(String hostname) Override the hostname checked for TLS.trustedCertificates
(InputStream stream) Set the trusted TLS certificates.useTls()
Force the client to connect over TLS.verifyServer
(boolean verifyServer)
-
Method Details
-
useTls
Force the client to connect over TLS. -
overrideHostname
Override the hostname checked for TLS. Use with caution in production. -
maxInboundMessageSize
Set the maximum inbound message size. -
trustedCertificates
Set the trusted TLS certificates. -
clientCertificate
Set the trusted TLS certificates. -
allocator
-
location
-
intercept
-
verifyServer
-
build
Create the client from this builder.
-