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
    Constructor
    Description
    HttpClient(org.apache.camel.ProducerTemplate producer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    exchange(ai.wanaku.core.exchange.ToolInvokeRequest request, ai.wanaku.capabilities.sdk.config.provider.api.ConfigResource configResource)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpClient

      public HttpClient(org.apache.camel.ProducerTemplate producer)
  • Method Details

    • exchange

      public Object exchange(ai.wanaku.core.exchange.ToolInvokeRequest request, ai.wanaku.capabilities.sdk.config.provider.api.ConfigResource configResource) throws ai.wanaku.capabilities.sdk.api.exceptions.WanakuException
      Specified by:
      exchange in interface ai.wanaku.core.capabilities.tool.Client
      Throws:
      ai.wanaku.capabilities.sdk.api.exceptions.WanakuException