You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ The HTTP-RPC framework includes the following classes:
59
59
*`TemplateEncoder` - class that encodes an object hierarchy using a template document
60
60
*`XMLEncoder` - class that encodes an object hierarchy to XML
61
61
*`org.httprpc.beans`
62
-
*`BeanAdapter` - class that presents the properties of a Java bean object as a map
62
+
*`BeanAdapter` - class that presents the properties of a Java bean object as a map and vice versa
63
63
*`Ignore` - annotation indicating that a bean property should be ignored
64
64
*`Key` - annotation that associates a custom key with a bean property
65
65
*`org.httprpc.sql`
@@ -786,7 +786,6 @@ If the value is already an instance of the requested type, it is returned as is.
786
786
*If the target type is a `String`, the value is adapted via its `toString()` method.
787
787
*If the target type is `java.util.Date`, the value is parsed or coerced to a long value representing epoch time in milliseconds and then converted to a `Date`.
788
788
*If the target type is `java.util.time.LocalDate`, `java.util.time.LocalTime`, or `java.util.time.LocalDateTime`, the value is converted to a string and parsed using the appropriate `parse()` method.
789
-
*If the target type is `java.net.URL`, the value is first converted to a string and then to a URL.
790
789
*If the target type is `java.util.List` or `java.util.Map`, the value is wrapped in an adapter of the same type that automatically adapts its sub-elements.
791
790
792
791
Otherwise, the target is assumed to be a bean interface, and the value is assumed to be a map. The return value is an implementation of the given interfacethat maps accessor methods to entries in the map. Property values are adapted as described above.
0 commit comments