Package org.mockserver.llm.client
Class NettyHttpClientLlmTransport
java.lang.Object
org.mockserver.llm.client.NettyHttpClientLlmTransport
- All Implemented Interfaces:
LlmTransport
LlmTransport backed by the server's NettyHttpClient. The
destination socket address is carried on the request (the per-provider
LlmClient sets the Host header and scheme), so the blocking
sendRequest(request, timeout, unit) overload routes it correctly.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsend(HttpRequest request, long timeoutMillis) Send the request and return the response, or throw on transport failure.
-
Constructor Details
-
NettyHttpClientLlmTransport
-
-
Method Details
-
send
Description copied from interface:LlmTransportSend the request and return the response, or throw on transport failure. Implementations must respecttimeoutMillis(theLlmCompletionServicetreats a timeout or exception fail-closed).- Specified by:
sendin interfaceLlmTransport
-