Interface RestApiController
-
public interface RestApiControllerThe interface to implement for Rest API extension in Bonita.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestApiResponsedoHandle(javax.servlet.http.HttpServletRequest request, RestApiResponseBuilder responseBuilder, RestAPIContext context)Let the Rest API Extension parse request for specific attribute handling.
-
-
-
Method Detail
-
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
-
-