org.jboss.resteasy.client.core.marshallers
Class FormMarshaller

java.lang.Object
  extended by org.jboss.resteasy.client.core.marshallers.FormMarshaller
All Implemented Interfaces:
Marshaller

public class FormMarshaller
extends java.lang.Object
implements Marshaller

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  java.lang.Class clazz
           
protected  java.util.HashMap<java.lang.reflect.Field,Marshaller> fieldMap
           
protected  java.util.HashMap<java.lang.Long,java.lang.reflect.Method> getterHashes
           
protected  java.util.List<org.jboss.resteasy.client.core.marshallers.FormMarshaller.GetterMethod> getters
           
 
Constructor Summary
FormMarshaller(java.lang.Class clazz, ResteasyProviderFactory factory)
           
 
Method Summary
 void build(ClientRequest request, java.lang.Object object)
           
static long createHash(java.lang.String methodDesc)
           
static long methodHash(java.lang.reflect.Method method)
           
protected  void populateMap(java.lang.Class clazz, ResteasyProviderFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldMap

protected java.util.HashMap<java.lang.reflect.Field,Marshaller> fieldMap

getters

protected java.util.List<org.jboss.resteasy.client.core.marshallers.FormMarshaller.GetterMethod> getters

getterHashes

protected java.util.HashMap<java.lang.Long,java.lang.reflect.Method> getterHashes

clazz

protected java.lang.Class clazz
Constructor Detail

FormMarshaller

public FormMarshaller(java.lang.Class clazz,
                      ResteasyProviderFactory factory)
Method Detail

methodHash

public static long methodHash(java.lang.reflect.Method method)
                       throws java.lang.Exception
Throws:
java.lang.Exception

createHash

public static long createHash(java.lang.String methodDesc)
                       throws java.lang.Exception
Throws:
java.lang.Exception

populateMap

protected void populateMap(java.lang.Class clazz,
                           ResteasyProviderFactory factory)

build

public void build(ClientRequest request,
                  java.lang.Object object)
Specified by:
build in interface Marshaller


Copyright © 2010. All Rights Reserved.