xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpcServer.java XmlRpcClient.java XmlRpcClientLite.java
Date Wed, 07 Aug 2002 17:07:12 GMT
dlr         2002/08/07 10:07:12

  Modified:    src/java/org/apache/xmlrpc XmlRpcServer.java
                        XmlRpcClient.java XmlRpcClientLite.java
  Log:
  Use whatever encoding is set for the XmlRpc class when instantiating a XmlWriter.
  
  Revision  Changes    Path
  1.26      +2 -2      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java
  
  Index: XmlRpcServer.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -u -r1.25 -r1.26
  --- XmlRpcServer.java	7 Aug 2002 02:41:25 -0000	1.25
  +++ XmlRpcServer.java	7 Aug 2002 17:07:12 -0000	1.26
  @@ -296,7 +296,7 @@
                   {
                       System.err.println("outparam = " + outParam);
                   }
  -                writer = new XmlWriter(buffer);
  +                writer = new XmlWriter(buffer, encoding);
                   writeResponse(outParam, writer);
                   writer.flush();
                   result = buffer.toByteArray();
  
  
  
  1.10      +2 -2      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClient.java
  
  Index: XmlRpcClient.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClient.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -u -r1.9 -r1.10
  --- XmlRpcClient.java	20 Mar 2002 15:11:03 -0000	1.9
  +++ XmlRpcClient.java	7 Aug 2002 17:07:12 -0000	1.10
  @@ -406,7 +406,7 @@
                       buffer.reset();
                   }
   
  -                XmlWriter writer = new XmlWriter(buffer);
  +                XmlWriter writer = new XmlWriter(buffer, encoding);
                   writeRequest(writer, method, params);
                   writer.flush();
                   byte[] request = buffer.toByteArray();
  
  
  
  1.8       +2 -2      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClientLite.java
  
  Index: XmlRpcClientLite.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClientLite.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- XmlRpcClientLite.java	20 Mar 2002 15:11:03 -0000	1.7
  +++ XmlRpcClientLite.java	7 Aug 2002 17:07:12 -0000	1.8
  @@ -182,7 +182,7 @@
                   {
                       buffer.reset();
                   }
  -                XmlWriter writer = new XmlWriter(buffer);
  +                XmlWriter writer = new XmlWriter(buffer, encoding);
                   writeRequest(writer, method, params);
                   writer.flush();
                   byte[] request = buffer.toByteArray();
  
  
  

Mime
View raw message