Interface IRequestHandler
- All Known Implementing Classes:
RequestHandler
public interface IRequestHandler
Interface for a request handler that can be used to process requests in a user defined way. Register it using
Core.addRequestHandler(String, RequestHandler)
in the after startup microflow.- Since:
- 9.0.1
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doProcessRequest
(IMxRuntimeRequest request, IMxRuntimeResponse response, String path) Method that is called when a new request is to be processed.
-
Field Details
-
CSRF_TOKEN_HEADER
- See Also:
-
CSRF_TOKEN_PARAMETER
- See Also:
-
EXPIRES
- See Also:
-
APPLICATION_OCTET_STREAM_TYPE
- See Also:
-
-
Method Details
-
doProcessRequest
void doProcessRequest(IMxRuntimeRequest request, IMxRuntimeResponse response, String path) throws Exception Method that is called when a new request is to be processed.- Parameters:
request
- the request to handlerresponse
- the response to update for the requestpath
- the request path after the handler type (e.g. for "/xas/commit" the handler type is "xas/" and the path is "commit")- Throws:
Exception
-