Delay in data extraction from org.restlet.Response

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Delay in data extraction from org.restlet.Response

Atul Kumar

Dear All,

 

I am facing issue while getting json data from Response and creating JSONobject.

 

Issue : Getting delay to create JSONObject. [Approx. 1-2 min ]

This is the code I am using to create the JOSNObject.

 

Representation rep = response.getEntity();

rep.setCharacterSet(CharacterSet.UTF_8); JsonRepresentation

jsonRep = new JsonRepresentation(rep);

JSONObject jsonObj = jsonRep.getJsonObject();

 

 

Jar Details : 1.6 (org.restlet.jar)

Please help me.

 

Thanks,

Atul Kumar

Important Notice:

Absa is an Authorised Financial Services Provider and Registered Credit Provider, registration number: NCRCP7. This e-mail and any files transmitted with it may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Absa. Any views or opinions presented are solely those of the author and do not necessarily represent those of Absa. This e-mail is subject to terms available at the following link: http://www.absa.co.za/disclaimer. The Disclaimer forms part of the content of this email. If you are unable to access the Disclaimer, send a blank e-mail to [hidden email] and we will send you a copy of the Disclaimer. By messaging with Absa you consent to the foregoing. By emailing Absa you consent to the terms herein. This email may relate to or be sent from other members of the Absa Group.