public static < Request > Input create ( Request requestBean ) { if ( requestBean == null ) throw new IllegalArgumentException ( "request bean should not be null!" ) ; Class requestClass = requestBean . getClass ( ) ; return create ( requestClass ) ; }
generate an input object from the bean .