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.voidhandleHttpRequest(VariableContainer execution, HttpRequest httpRequest, FlowableHttpClient client) voidhandleHttpResponse(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:
handleHttpRequestin interfaceHttpRequestHandler
-
handleHttpResponse
- Specified by:
handleHttpResponsein interfaceHttpResponseHandler
-
getExpressionText
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
-