Class HttpDelegate

java.lang.Object
ai.wanaku.core.capabilities.tool.AbstractToolDelegate
ai.wanaku.tool.http.HttpDelegate
All Implemented Interfaces:
ai.wanaku.core.exchange.InvocationDelegate, ai.wanaku.core.exchange.ProvisionAware, ai.wanaku.core.exchange.RegisterAware

@ApplicationScoped public class HttpDelegate extends ai.wanaku.core.capabilities.tool.AbstractToolDelegate
  • Constructor Details

    • HttpDelegate

      public HttpDelegate()
  • Method Details

    • coerceResponse

      protected List<String> coerceResponse(Object response) throws ai.wanaku.api.exceptions.InvalidResponseTypeException, ai.wanaku.api.exceptions.NonConvertableResponseException
      Specified by:
      coerceResponse in class ai.wanaku.core.capabilities.tool.AbstractToolDelegate
      Throws:
      ai.wanaku.api.exceptions.InvalidResponseTypeException
      ai.wanaku.api.exceptions.NonConvertableResponseException