How can i pass a complex object like Person class as an input parameter in restful web service??
I have gone through many links but didnt find the solution. Please help
将对象转换为JSON或XML(或任何其他格式,但是最常见的格式),然后将其发送到请求的正文中。
There are Restful Client api's available in java
1.JAX-RS-API-->JersyImpl,Resteasy(Jboss) Impl etc
You can use any of these and can pass any java object as input to restful resource.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.