Package org.apache.iceberg.rest
Class HTTPClientFactory
- java.lang.Object
-
- org.apache.iceberg.rest.HTTPClientFactory
-
- All Implemented Interfaces:
java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,RESTClient>
public class HTTPClientFactory extends java.lang.Object implements java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,RESTClient>
Takes in the full configuration for theRESTSessionCatalog
, which should already have called the server's initial configuration route. Using the merged configuration, an instance ofRESTClient
is obtained that can be used with the RESTCatalog.
-
-
Constructor Summary
Constructors Constructor Description HTTPClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RESTClient
apply(java.util.Map<java.lang.String,java.lang.String> properties)
-
-
-
Method Detail
-
apply
public RESTClient apply(java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
apply
in interfacejava.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,RESTClient>
-
-