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 Modifier and Type Field Description protected Expressionexpressionprotected List<FieldDeclaration>fieldDeclarations
-
Constructor Summary
Constructors Constructor Description DelegateExpressionHttpHandler(Expression expression, List<FieldDeclaration> fieldDeclarations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpressionText()returns the expression text for this execution listener.voidhandleHttpRequest(VariableContainer execution, HttpRequest httpRequest, FlowableHttpClient client)voidhandleHttpResponse(VariableContainer execution, HttpResponse httpResponse)
-
-
-
Field Detail
-
expression
protected Expression expression
-
fieldDeclarations
protected final List<FieldDeclaration> fieldDeclarations
-
-
Constructor Detail
-
DelegateExpressionHttpHandler
public DelegateExpressionHttpHandler(Expression expression, List<FieldDeclaration> fieldDeclarations)
-
-
Method Detail
-
handleHttpRequest
public void handleHttpRequest(VariableContainer execution, HttpRequest httpRequest, FlowableHttpClient client)
- Specified by:
handleHttpRequestin interfaceHttpRequestHandler
-
handleHttpResponse
public void handleHttpResponse(VariableContainer execution, HttpResponse httpResponse)
- Specified by:
handleHttpResponsein interfaceHttpResponseHandler
-
getExpressionText
public String getExpressionText()
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
-
-