Find Jobs
Hire Freelancers

design a async Networking Library in Java

₹600-1500 INR

Fermé
Publié il y a plus de 5 ans

₹600-1500 INR

Payé lors de la livraison
* You have to design a async Networking Library in Java named myHttp (basically wrapper over HttpURLConnection), * the library should expose the following interface. */ /** * [login to view URL] API example of GET request. * String: methodType * String: url * Map<String, String>: headers * String: tag */ ListenableFuture<myResponse> getResponseFuture = [login to view URL](new OfbRequest(GET, url, headers, tag)); [login to view URL](getResponseFuture, new FutureCallback<OfbResponse>() { public void onSuccess(myResponse ofbResponse) { //process response asynchronously } public void onFailure(Throwable thrown) { //process failure } public void onCancel() { //process cancellation }}); /** * [login to view URL] API example of POST request. * String: methodType * String: body * String: url * Map<String, String>: headers * String: tag * */ ListenableFuture<myResponse> postResponseFuture = [login to view URL](new myRequest(POST, body, url, headers, tag)); [login to view URL](postResponseFuture, new FutureCallback<myResponse>() { public void onSuccess(myResponse myResponse) { //process response asynchronously } public void onFailure(Throwable thrown) { //process failure } public void onCancel() { //process cancellation }}); /** * [login to view URL] API example of GET request * This will cancel all the requests with the provided "tag" and call their onCancel callback */[login to view URL](tag); /** * Notes: * If multiple GET requests hit the same url. Then all of the callers should get same response. * * ListenableFuture is a class from guava library * [login to view URL] *
N° de projet : 18472886

Concernant le projet

3 propositions
Projet à distance
Actif à il y a 5 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
3 freelances proposent en moyenne ₹2 690 INR pour ce travail
Avatar de l'utilisateur
Hi, I am interested to work on this project... Let me know if you want me to work on this project.... THanks, Harsh........................................
₹4 444 INR en 1 jour
4,7 (42 commentaires)
4,7
4,7
Avatar de l'utilisateur
hi I m java developer. I m working with Ericsson. we are using RF core along with Akka for this same asynchronous implantation. I would like to discuss in detail upon chat.
₹850 INR en 2 jours
5,0 (2 commentaires)
3,0
3,0

À propos du client

Drapeau de INDIA
Allahabad, India
0,0
0
Membre depuis sept. 11, 2013

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.