Class TikaHttpClient

java.lang.Object
org.apache.tika.http.TikaHttpClient
All Implemented Interfaces:
Closeable, AutoCloseable

public class TikaHttpClient extends Object implements Closeable
Lightweight HTTP client for Tika parser modules that call external REST endpoints (embedding APIs, VLM services, etc.).

Built on HttpClient with a daemon thread executor so the JVM — including forked PipesServer processes — shuts down cleanly without waiting for idle HTTP threads.

This class has no runtime dependencies beyond the JDK and tika-core. Obtain an instance via build(int) and close it when done to release the underlying executor.

Since:
Apache Tika 4.0