Class MyXmlRpcTransport

  • All Implemented Interfaces:
    org.apache.xmlrpc.XmlRpcTransport

    public class MyXmlRpcTransport
    extends Object
    implements org.apache.xmlrpc.XmlRpcTransport
    User: kir We use own implementation, derived from CommonsXmlRpcTransport to disable retrying of failed operations by setting HttpMethodParams.RETRY_HANDLER parameter.
    • Method Detail

      • endClientRequest

        public void endClientRequest()
        Specified by:
        endClientRequest in interface org.apache.xmlrpc.XmlRpcTransport
      • getLastResponseBodyAsString

        public String getLastResponseBodyAsString()
      • beginClientRequest

        public void beginClientRequest​(org.apache.xmlrpc.XmlRpcClientRequest request)
        This method is assumed to be called before calling sendXmlRpc(byte[])
      • sendXmlRpc

        public InputStream sendXmlRpc​(byte[] request)
                               throws IOException,
                                      org.apache.xmlrpc.XmlRpcClientException
        Specified by:
        sendXmlRpc in interface org.apache.xmlrpc.XmlRpcTransport
        Throws:
        IOException
        org.apache.xmlrpc.XmlRpcClientException
      • forgetRedirectUrls

        public void forgetRedirectUrls()
      • disposeConnections

        public void disposeConnections()