Class DelegateExpressionHttpHandler
java.lang.Object
org.flowable.engine.impl.bpmn.http.handler.DelegateExpressionHttpHandler
- All Implemented Interfaces:
HttpRequestHandler
,HttpResponseHandler
public class DelegateExpressionHttpHandler
extends Object
implements HttpRequestHandler, HttpResponseHandler
- Author:
- Tijs Rademakers
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDelegateExpressionHttpHandler
(Expression expression, List<FieldDeclaration> fieldDeclarations) -
Method Summary
Modifier and TypeMethodDescriptionreturns the expression text for this execution listener.void
handleHttpRequest
(VariableContainer execution, HttpRequest httpRequest, FlowableHttpClient client) void
handleHttpResponse
(VariableContainer execution, HttpResponse httpResponse)
-
Field Details
-
expression
-
fieldDeclarations
-
-
Constructor Details
-
DelegateExpressionHttpHandler
public DelegateExpressionHttpHandler(Expression expression, List<FieldDeclaration> fieldDeclarations)
-
-
Method Details
-
handleHttpRequest
public void handleHttpRequest(VariableContainer execution, HttpRequest httpRequest, FlowableHttpClient client) - Specified by:
handleHttpRequest
in interfaceHttpRequestHandler
-
handleHttpResponse
- Specified by:
handleHttpResponse
in interfaceHttpResponseHandler
-
getExpressionText
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
-