Class LabelsHandler
java.lang.Object
org.codelibs.fess.api.v2.handlers.LabelsHandler
Handles the
/api/v2/labels endpoint.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes one labels request.
-
Constructor Details
-
LabelsHandler
public LabelsHandler()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 labels request.- Parameters:
request- the incoming HTTP requestresponse- the HTTP response to write to- Throws:
IOException- if writing the envelope fails
-