com.metamatrix.connector.xml.http
Class DefaultTrustDeserializer

java.lang.Object
  extended by com.metamatrix.connector.xml.base.TrustedPayloadBridge
      extended by com.metamatrix.connector.xml.http.DefaultTrustDeserializer
All Implemented Interfaces:
HTTPTrustDeserializer, TrustedPayloadHandler

public class DefaultTrustDeserializer
extends TrustedPayloadBridge
implements HTTPTrustDeserializer


Field Summary
protected  HTTPConnectorState m_state
           
 
Fields inherited from class com.metamatrix.connector.xml.base.TrustedPayloadBridge
connectorEnvorinment, connectorName, m_logger, m_process, m_systemName, m_trust, password, username
 
Constructor Summary
DefaultTrustDeserializer()
           
 
Method Summary
 void modifyRequest(org.apache.commons.httpclient.HttpClient client, org.apache.commons.httpclient.HttpMethod method)
           
 void setConnectorState(XMLConnectorState state)
           
protected  void updateCredentials(org.apache.commons.httpclient.HttpClient client, org.apache.commons.httpclient.HttpMethod method, java.lang.String user, java.lang.String password)
           
 
Methods inherited from class com.metamatrix.connector.xml.base.TrustedPayloadBridge
getPassword, getUser, processPayloads, setConnectorEnvironment, setConnectorName, setExecutionPayload, setLogger, setPassword, setSystemName, setTrustedPayload, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.metamatrix.connector.xml.http.HTTPTrustDeserializer
processPayloads, setExecutionPayload, setLogger, setSystemName, setTrustedPayload
 
Methods inherited from interface com.metamatrix.connector.xml.TrustedPayloadHandler
getPassword, getUser, setConnectorEnvironment, setConnectorName, setPassword, setUser
 

Field Detail

m_state

protected HTTPConnectorState m_state
Constructor Detail

DefaultTrustDeserializer

public DefaultTrustDeserializer()
Method Detail

setConnectorState

public void setConnectorState(XMLConnectorState state)
Specified by:
setConnectorState in interface HTTPTrustDeserializer

modifyRequest

public void modifyRequest(org.apache.commons.httpclient.HttpClient client,
                          org.apache.commons.httpclient.HttpMethod method)
                   throws ConnectorException
Specified by:
modifyRequest in interface HTTPTrustDeserializer
Throws:
ConnectorException

updateCredentials

protected void updateCredentials(org.apache.commons.httpclient.HttpClient client,
                                 org.apache.commons.httpclient.HttpMethod method,
                                 java.lang.String user,
                                 java.lang.String password)
                          throws ConnectorException
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.