Class BotLibre


@Node public class BotLibre extends Bot
BotLibre integration point. Forwards user query to configured url, sets application and service to configured values. Keeps track of conversation id.
Author:
joe
  • Constructor Details

    • BotLibre

      public BotLibre()
  • Method Details

    • selfTest

      public void selfTest() throws Exception
      Description copied from class: Bot
      Self test runs on server startup. Exceptions are logged but otherwise ignored.
      Specified by:
      selfTest in class Bot
      Throws:
      Exception
    • getResponseAsync

      public reactor.core.publisher.Mono<String> getResponseAsync(Client client, String message)
      Specified by:
      getResponseAsync in class Bot
    • getWebClient

      public org.springframework.web.reactive.function.client.WebClient getWebClient()
    • setWebClient

      public void setWebClient(org.springframework.web.reactive.function.client.WebClient webClient)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Bot
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Bot
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Bot
    • toString

      public String toString()
      Overrides:
      toString in class Bot