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

807 questions
-1
votes
1 answer

Spring-boot how can i consume XML RPC server using jersey

Spring-boot how can i consume XML RPC server using jersey I am using spring boot 2.2.4 and I have the API from a XML RPC server, can I consume it using jersey
ehirwa
  • 1
  • 2
-1
votes
1 answer

Jersey WebResource Dynamic Headers

I want to be able to set header dynamically. This line works for me: WebResource webResource = client.resource(doSomethingURL); webResource .header("test1", test1) .post(ClientResponse.class, postData); But it makes…
-1
votes
1 answer

Maven - javax.net.ssl.SSLException: java.security.ProviderException: Could not derive key

I added a client jar of project A to project B. They both have different versions of jersey and jackson apis. Both java 8. When I bring up the Application , it works fine. All dependencies are resolved and endpoints work fine. But when I run…
NewQueries
  • 4,451
  • 10
  • 26
  • 35
-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
  • 43
  • 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
  • 818
  • 3
  • 13
  • 37
-1
votes
1 answer

Jersey client request to web-service

I`m trying to request to web-service by jersey client: WebResource service =…
andy007
  • 785
  • 1
  • 12
  • 35
-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
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,277
  • 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
  • 484
  • 4
  • 14
-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
  • 21,492
  • 19
  • 65
  • 111
1 2 3
53
54