com.twistedmatrix.spread
Class InsecureMapper

java.lang.Object
  |
  +--com.twistedmatrix.spread.InsecureMapper
All Implemented Interfaces:
ClassMapper

public class InsecureMapper
extends java.lang.Object
implements ClassMapper

An insecure class mapper, that assumes that the passed class name is in fact the real name. This can be used together with DefaultJellyables.


Constructor Summary
InsecureMapper()
           
 
Method Summary
 java.lang.String getClassName(java.lang.String fakeName)
          Get the class's real name, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsecureMapper

public InsecureMapper()
Method Detail

getClassName

public java.lang.String getClassName(java.lang.String fakeName)
Description copied from interface: ClassMapper
Get the class's real name, e.g. "java.util.HashMap". Return null if the class is not supported.
Specified by:
getClassName in interface ClassMapper