Package ai.wanaku.tool.http
Class HttpClient
java.lang.Object
ai.wanaku.tool.http.HttpClient
- All Implemented Interfaces:
ai.wanaku.core.capabilities.tool.Client
@ApplicationScoped
public class HttpClient
extends Object
implements ai.wanaku.core.capabilities.tool.Client
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpClient
public HttpClient(org.apache.camel.ProducerTemplate producer)
-
-
Method Details
-
exchange
public Object exchange(ai.wanaku.core.exchange.ToolInvokeRequest request, ai.wanaku.core.config.provider.api.ConfigResource configResource) throws ai.wanaku.api.exceptions.WanakuException - Specified by:
exchangein interfaceai.wanaku.core.capabilities.tool.Client- Throws:
ai.wanaku.api.exceptions.WanakuException
-