com.metamatrix.connector.xml.http
Class HTTPExecutor

java.lang.Object
  extended by com.metamatrix.connector.xml.http.HTTPExecutor
All Implemented Interfaces:
ResultProducer
Direct Known Subclasses:
SOAPExecutor

public class HTTPExecutor
extends java.lang.Object
implements ResultProducer


Field Summary
protected  XMLExecution execution
           
protected  ExecutionInfo exeInfo
           
protected  java.util.List<HTTPRequest> requests
           
protected  HTTPConnectorState state
           
 
Constructor Summary
HTTPExecutor(HTTPConnectorState state, XMLExecution execution, ExecutionInfo exeInfo, QueryAnalyzer analyzer)
           
 
Method Summary
 void closeStreams()
           
protected  void createRequests(XMLExecution execution, ExecutionInfo exeInfo, java.util.List<CriteriaDesc[]> requestPerms)
           
 java.util.Iterator<Document> getXMLDocuments()
          Gets all the InputStreams for a single ExecutionInfo instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

execution

protected XMLExecution execution

requests

protected java.util.List<HTTPRequest> requests

state

protected HTTPConnectorState state

exeInfo

protected ExecutionInfo exeInfo
Constructor Detail

HTTPExecutor

public HTTPExecutor(HTTPConnectorState state,
                    XMLExecution execution,
                    ExecutionInfo exeInfo,
                    QueryAnalyzer analyzer)
             throws ConnectorException
Parameters:
state -
execution -
exeInfo -
analyzer -
Throws:
ConnectorException
Method Detail

getXMLDocuments

public java.util.Iterator<Document> getXMLDocuments()
                                             throws ConnectorException
Description copied from interface: ResultProducer
Gets all the InputStreams for a single ExecutionInfo instance. This could be any number or streams and is implementation dependent.

Specified by:
getXMLDocuments in interface ResultProducer
Returns:
Throws:
ConnectorException

closeStreams

public void closeStreams()
Specified by:
closeStreams in interface ResultProducer

createRequests

protected void createRequests(XMLExecution execution,
                              ExecutionInfo exeInfo,
                              java.util.List<CriteriaDesc[]> requestPerms)
                       throws ConnectorException
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.