• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpClient Object Serialization

 
sneha jo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

How do we pass objects using apache http client post method?
 
Rob Spoor
Sheriff
Pie
Posts: 20753
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

There are two ways:
1) post the serialized object as "file" data; I believe MultipartRequestEntity should be used for that.
2) encode the serialized object (as byte[]) to something else; usually base 64 or HEX.
 
sneha jo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the warm wishes Rob Spoor.

Can you guide me to some tutorial where I can get started.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic