Class SuggestWordsHandler

java.lang.Object
org.codelibs.fess.api.v2.handlers.SuggestWordsHandler

public class SuggestWordsHandler extends Object
Handles the /api/v2/suggest-words endpoint.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor used by the DI container.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Processes one suggest words request.

    Methods inherited from class java.lang.Object

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

    • SuggestWordsHandler

      public SuggestWordsHandler()
      Default constructor used by the DI container.
  • Method Details

    • handle

      public void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Processes one suggest words request.
      Parameters:
      request - the incoming HTTP request
      response - the HTTP response to write to
      Throws:
      IOException - if writing the envelope fails