Class HttpQueryBackend

  • All Implemented Interfaces:
    Cloneable

    public class HttpQueryBackend
    extends CdaQueryBackend
    Class that implements CDA to be used over HTTP to be used in PRD application
    Author:
    dduque
    • Constructor Detail

      • HttpQueryBackend

        public HttpQueryBackend()
    • Method Detail

      • fetchData

        public org.pentaho.reporting.engine.classic.core.util.TypedTableModel fetchData​(org.pentaho.reporting.engine.classic.core.DataRow dataRow,
                                                                                        String method,
                                                                                        Map<String,​String> extraParameter)
                                                                                 throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
        Description copied from class: CdaQueryBackend
        Fetch the data, has to be implemented in each sub class
        Specified by:
        fetchData in class CdaQueryBackend
        Returns:
        Throws:
        org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
      • getHttpClient

        protected org.apache.http.client.HttpClient getHttpClient()
      • getCredentials

        public static org.apache.http.auth.Credentials getCredentials​(String user,
                                                                      String password)