Package ai.webscraping
Interface Transport
- All Known Implementing Classes:
JdkHttpTransport
public interface Transport
HTTP transport abstraction. The default implementation
(
JdkHttpTransport) wraps the JDK's java.net.http.HttpClient;
users can supply their own (e.g., backed by Apache HttpClient 5 or OkHttp)
by passing a custom Transport through Config.
A Transport implementation is responsible for the wire-level
exchange only. It returns the raw Transport.Response regardless of status —
the higher-level Client maps non-2xx responses to the typed
ApiException subclasses. Transport-level
failures must be reported as ApiTimeoutException or
ApiConnectionException.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final class -
Method Summary
-
Method Details
-
execute
-