Interface RestApiController
public interface RestApiController
The interface to implement for Rest API extension in Bonita.
-
Method Summary
Modifier and TypeMethodDescriptiondoHandle(javax.servlet.http.HttpServletRequest request, RestApiResponseBuilder responseBuilder, RestAPIContext context) Let the Rest API Extension parse request for specific attribute handling.
-
Method Details
-
doHandle
RestApiResponse doHandle(javax.servlet.http.HttpServletRequest request, RestApiResponseBuilder responseBuilder, RestAPIContext context) Let the Rest API Extension parse request for specific attribute handling.- Parameters:
request- the HTTP servlet request intended to be used as in a servletresponseBuilder- a builder for HTTP responsecontext- to access the current execution context data like current session,locale...- Returns:
- a RestApiResponse with a body, an HTTP status and other optional http content
- Since:
- 7.2
-