java.lang.Object
org.flowable.common.engine.impl.scripting.AbstractScriptEvaluator
com.flowable.serviceregistry.engine.impl.invoker.rest.ScriptHttpHandler
All Implemented Interfaces:
org.flowable.http.common.api.delegate.HttpRequestHandler, org.flowable.http.common.api.delegate.HttpResponseHandler

public class ScriptHttpHandler extends org.flowable.common.engine.impl.scripting.AbstractScriptEvaluator implements org.flowable.http.common.api.delegate.HttpRequestHandler, org.flowable.http.common.api.delegate.HttpResponseHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     

    Fields inherited from class org.flowable.common.engine.impl.scripting.AbstractScriptEvaluator

    language, resultVariable, script
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScriptHttpHandler(org.flowable.common.engine.api.delegate.Expression language, String script, ServiceDefinitionModel serviceDefinitionModel, ServiceOperation serviceOperation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.flowable.common.engine.impl.scripting.ScriptingEngines
     
    void
    handleHttpRequest(org.flowable.common.engine.api.variable.VariableContainer variableContainer, org.flowable.http.common.api.HttpRequest httpRequest, org.flowable.http.common.api.client.FlowableHttpClient client)
     
    void
    handleHttpResponse(org.flowable.common.engine.api.variable.VariableContainer variableContainer, org.flowable.http.common.api.HttpResponse httpResponse)
     
    protected void
    tagScripTrace(org.flowable.common.engine.impl.scripting.ScriptTraceEnhancer.ScriptTraceContext scriptTrace, String handlerType)
     

    Methods inherited from class org.flowable.common.engine.impl.scripting.AbstractScriptEvaluator

    createScriptRequest, evaluateScript, evaluateScriptRequest, getScript, setLanguage, setResultVariable, setScript, setScript, validateParameters

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getScriptingEngines

      protected org.flowable.common.engine.impl.scripting.ScriptingEngines getScriptingEngines()
      Specified by:
      getScriptingEngines in class org.flowable.common.engine.impl.scripting.AbstractScriptEvaluator
    • handleHttpRequest

      public void handleHttpRequest(org.flowable.common.engine.api.variable.VariableContainer variableContainer, org.flowable.http.common.api.HttpRequest httpRequest, org.flowable.http.common.api.client.FlowableHttpClient client)
      Specified by:
      handleHttpRequest in interface org.flowable.http.common.api.delegate.HttpRequestHandler
    • handleHttpResponse

      public void handleHttpResponse(org.flowable.common.engine.api.variable.VariableContainer variableContainer, org.flowable.http.common.api.HttpResponse httpResponse)
      Specified by:
      handleHttpResponse in interface org.flowable.http.common.api.delegate.HttpResponseHandler
    • tagScripTrace

      protected void tagScripTrace(org.flowable.common.engine.impl.scripting.ScriptTraceEnhancer.ScriptTraceContext scriptTrace, String handlerType)