Class PackageManagerJsonCall

java.lang.Object
io.wcm.tooling.commons.packmgr.httpaction.PackageManagerJsonCall
All Implemented Interfaces:
HttpCall<org.json.JSONObject>

public final class PackageManagerJsonCall extends Object implements HttpCall<org.json.JSONObject>
Call to package manager HTTP JSON interface.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PackageManagerJsonCall(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.protocol.HttpClientContext context, org.apache.http.client.methods.HttpRequestBase method)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.json.JSONObject
    Execute action

    Methods inherited from class java.lang.Object

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

    • PackageManagerJsonCall

      public PackageManagerJsonCall(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.protocol.HttpClientContext context, org.apache.http.client.methods.HttpRequestBase method)
      Parameters:
      httpClient - HTTP client
      context - HTTP client context
      method - HTTP method
  • Method Details

    • execute

      public org.json.JSONObject execute()
      Description copied from interface: HttpCall
      Execute action
      Specified by:
      execute in interface HttpCall<org.json.JSONObject>
      Returns:
      Response