org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc
Class CustomReqPropTransport
java.lang.Object
org.apache.xmlrpc.client.XmlRpcTransportImpl
org.apache.xmlrpc.client.XmlRpcStreamTransport
org.apache.xmlrpc.client.XmlRpcHttpTransport
org.apache.xmlrpc.client.XmlRpcSunHttpTransport
org.apache.xmlrpc.client.XmlRpcSun14HttpTransport
org.apache.xmlrpc.client.XmlRpcSun15HttpTransport
org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc.RhnSSLTransport
org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc.CustomReqPropTransport
- All Implemented Interfaces:
- org.apache.xmlrpc.client.XmlRpcTransport
- Direct Known Subclasses:
- RhnJaxbTransport
public class CustomReqPropTransport
- extends RhnSSLTransport
| Nested classes/interfaces inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport |
org.apache.xmlrpc.client.XmlRpcHttpTransport.ByteArrayReqWriter |
| Nested classes/interfaces inherited from class org.apache.xmlrpc.client.XmlRpcStreamTransport |
org.apache.xmlrpc.client.XmlRpcStreamTransport.GzipReqWriter, org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriter, org.apache.xmlrpc.client.XmlRpcStreamTransport.ReqWriterImpl |
| Fields inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport |
USER_AGENT |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun15HttpTransport |
getProxy, setProxy |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun14HttpTransport |
getSSLSocketFactory, setSSLSocketFactory |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcSunHttpTransport |
close, getInputStream, getURLConnection, isResponseGzipCompressed, sendRequest, setRequestHeader, writeRequest |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcHttpTransport |
getUserAgent, initHttpHeaders, isUsingByteArrayOutput, newReqWriter, setCompressionHeaders, setContentLength, setCredentials |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcStreamTransport |
isCompressingRequest, newXMLReader |
| Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportImpl |
getClient |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reqProps
protected Map<String,String> reqProps
dumpMessageToFile
protected boolean dumpMessageToFile
dumpFilePath
protected String dumpFilePath
PROP_NAME_TO_SAVE_TEMP_FILES
protected String PROP_NAME_TO_SAVE_TEMP_FILES
CustomReqPropTransport
public CustomReqPropTransport(org.apache.xmlrpc.client.XmlRpcClient pClient)
setDumpMessageToFile
public void setDumpMessageToFile(boolean dump)
getDumpMessageToFile
public boolean getDumpMessageToFile()
setDumpFilePath
public void setDumpFilePath(String dumpPath)
getDumpFilePath
public String getDumpFilePath()
setRequestProperties
public void setRequestProperties(Map props)
getRequestProperties
public Map<String,String> getRequestProperties()
setRequestProperty
public void setRequestProperty(String name,
String value)
getRequestProperty
public String getRequestProperty(String name,
String value)
newURLConnection
protected URLConnection newURLConnection(URL pURL)
throws IOException
- Overrides:
newURLConnection in class RhnSSLTransport
- Throws:
IOException
cacheResponseToFile
protected File cacheResponseToFile(InputStream inStream)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
readResponse
protected Object readResponse(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig pConfig,
InputStream pStream)
throws org.apache.xmlrpc.XmlRpcException
- Overrides:
readResponse in class org.apache.xmlrpc.client.XmlRpcStreamTransport
- Throws:
org.apache.xmlrpc.XmlRpcException
doWeDeleteTempFile
protected boolean doWeDeleteTempFile(File f)
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.