Class WRSJsonDataSource

java.lang.Object
com.ptc.wbr.datasource.WRSJsonDataSource

public class WRSJsonDataSource extends Object


Supported API: true
Extendable: false This class act as a Wrapper to Json Data Source. It adds few parameter and passes on request to Jasper Library.
  • Method Details

    • getJsonDataSource

      public static net.sf.jasperreports.engine.data.JsonDataSource getJsonDataSource(String restEndPoint) throws Exception
      Get Json Response From WRS endpoint with Default select Expression
      Parameters:
      restEndPoint -
      Returns:
      Throws:
      Exception -

      Supported API: true
    • getJsonDataSource

      public static net.sf.jasperreports.engine.data.JsonDataSource getJsonDataSource(String restEndPoint, String selectExpression) throws Exception
      Get Json Response from WRS with provided select Expression
      Parameters:
      restEndPoint -
      selectExpression -
      Returns:
      Throws:
      Exception
      net.sf.jasperreports.engine.JRException -

      Supported API: true