Serializing over HTTP correct way to convert object

前端 未结 1 1944
傲寒
傲寒 2020-12-18 05:27

I\'m trying to serialize an object and send it over HTTP. I\'m using a few tutorials as most deal with sockets but I can\'t use sockets for this, or with a file been stored

相关标签:
1条回答
  • 2020-12-18 06:17

    Just typecast it.

    Employee emp = (Employee)objIn.readObject();
    
    0 讨论(0)
提交回复
热议问题