Questions tagged [jersey-client]

The Jersey client API is a high-level Java based API for interoperating with RESTful Web services.

The Jersey client API is a high-level Java based API for interoperating with RESTful Web services. It makes it very easy to interoperate with RESTful Web services and enables a developer to concisely and efficiently implement a reusable client-side solution that leverages existing and well established client-side HTTP implementations.

More Details

820 questions
-1
votes
1 answer

Jersey client side Exception handler

Im using jersey for my javafx application client side. Server side is implemented using Spring boot. I want to implement a filter so i can map exceptions from server to my own exceptions. but using ClientResponseFilter i cannot get response content…
Rasoul
  • 53
  • 1
  • 5
-1
votes
1 answer

Unable to convert json to Object

I am using jersey restful webservice and grails. My response is not map with object in grails. I am getting below problem. org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object…
Hardik Patel
  • 937
  • 3
  • 14
  • 39
-1
votes
1 answer

Jersey client request to web-service

I`m trying to request to web-service by jersey client: WebResource service =…
andy007
  • 907
  • 1
  • 15
  • 41
-1
votes
1 answer

start up a thread using jersey library?

So I'm using the jersey libary for my servlet and I need to have a background thread to run on the server. I did some research and found this answer: Background Thread for a Tomcat servlet app But the problem is that this answer uses a…
-1
votes
1 answer

Jersey rest MessageBodyWriter not found for media type=application/jso

I want to use embedded jet and jersey. TEXT_PLAIN work fine but when I use APPLICATION_JSON I got that error: SEVERE: MessageBodyWriter not found for media type=application/json, type=class adburst.dao.Campaign, genericType=class dao.Campaign. Here…
-2
votes
0 answers

javax.servlet.ServletException: : java.lang.NoSuchMethodError: javax.ws.rs.core.MultivaluedMap.addAll(Ljava/lang/Object;[Ljava/lang/Object;)V

I am getting this exception in my java code , I am using glass-fish server this code copied from another working application , where it used authenticate user , Similar authentication I want to do in my application also . Not able to enter code…
-2
votes
1 answer

Build a RESTful Web service using Jersey and Apache Tomcat

I am new to java web-service programming and setup. my requirement is just need to host a simple rest web-server and that can be called by post or get method and also that can capture the json response from post method to string variable. there i…
-2
votes
1 answer

Using GET REST call in order to find all the related objects

I am using Jersey as my RESTful Web Services framework. I have made 2 new @GET REST calls in order to search objects in the database. Those REST calls should serve 2 different components. The first component has the user_id in its details. The…
Rotem
  • 1,381
  • 1
  • 11
  • 23
-2
votes
2 answers

Jersey POST request from simple terminal client

Could anyone tell me how to call post request from simple terminal client? @POST @Path("insertt") public void insert(@QueryParam("id") Integer id, @QueryParam("name") String name, …
kvway
  • 494
  • 4
  • 16
-3
votes
1 answer

Is there a generic java class i can use to consume facebook api responses?

I don't want to painfully create a class that has fields like id, name, etc. Is there a generic java class I could use instead to consume the response? I. e. extract it as key-value pairs?
necromancer
  • 23,916
  • 22
  • 68
  • 115
1 2 3
54
55