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
    • getResponse

      public String getResponse(Client client, String message)
      Specified by:
      getResponse in class Bot
    • getRestTemplate

      public org.springframework.web.client.RestTemplate getRestTemplate()
    • setRestTemplate

      public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
    • 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