Class HTTPServerAPI

java.lang.Object
org.bonitasoft.engine.api.HTTPServerAPI
All Implemented Interfaces:
Serializable, Remote, org.bonitasoft.engine.api.internal.ServerAPI

public class HTTPServerAPI extends Object implements org.bonitasoft.engine.api.internal.ServerAPI
Call the remote engine using HTTP post That class serialize api call parameters in a XML body and post it to the serverAPI servlet like this /serverAPI/[api interface name]/[method name]
See Also:
  • Constructor Details

  • Method Details

    • invokeMethod

      public Object invokeMethod(Map<String,Serializable> options, String apiInterfaceName, String methodName, List<String> classNameParameters, Object[] parametersValues) throws org.bonitasoft.engine.api.internal.ServerWrappedException
      Specified by:
      invokeMethod in interface org.bonitasoft.engine.api.internal.ServerAPI
      Throws:
      org.bonitasoft.engine.api.internal.ServerWrappedException