Package io.milton.http.annotated
Class DataBinder
java.lang.Object
io.milton.http.annotated.DataBinder
- Author:
- brad
-
Constructor Details
-
DataBinder
public DataBinder()
-
-
Method Details
-
getRawParam
Trims to null, so will never return a value padded with white space, or only whitespace- Parameters:
props-name-- Returns:
-
setTimeZoneForRequest
-
getTimeZoneForRequest
-
populate
public void populate(Object bean, Map properties) throws IllegalAccessException, InvocationTargetException - Parameters:
bean- - the object to bind to, using bean property accessorsproperties- - the map of values to attempt to bind- Throws:
IllegalAccessExceptionInvocationTargetException
-
populate
public void populate(Object bean, Map properties, TimeZone timeZone) throws IllegalAccessException, InvocationTargetException - Parameters:
bean-properties- - the map of properties to attempt to bind to the beantimeZone- - timezone to use for date/time conversions- Throws:
IllegalAccessExceptionInvocationTargetException
-