com.vodafone360.people.service.utils.hessian
Class HessianEncoder
java.lang.Object
  
com.vodafone360.people.service.utils.hessian.HessianEncoder
public class HessianEncoder
- extends java.lang.Object
 
Produce Hessian encoded byte array using Caucho Hessian implementation
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HessianEncoder
public HessianEncoder()
createHessianByteArray
public static byte[] createHessianByteArray(java.lang.String function,
                                            java.util.Hashtable<java.lang.String,java.lang.Object> ht)
                                     throws java.io.IOException
- Create Hessian encoded byte array from Hashtable
- Parameters:
 ht - Hashtable to encode
- Returns:
 - encoded byte array
 - Throws:
 java.io.IOException
 
 
writeHashtable
private static void writeHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> ht,
                                   MicroHessianOutput mho)
                            throws java.io.IOException
- Throws:
 java.io.IOException
 
writeStringArrayList
private static void writeStringArrayList(java.util.ArrayList<java.lang.String> list,
                                         MicroHessianOutput mho)
                                  throws java.io.IOException
- Throws:
 java.io.IOException
 
				
				
				JavaDoc