header « jersey « Java Enterprise Q&A





1. Passing parameters in the message header with a REST API    stackoverflow.com

I'm developping a REST API and I need to tranport cryptograms to authenticate the message for each request in a applicative process (MAC encryption from secret keys). I was thinking about ...

2. JAX-RS (Jersey) client send optional Header Parameters    stackoverflow.com

I have built a REST client using Jersey. The requirement is to send optional header parameters along with request (x_id_1 , x_id_2) While sending request to the server , i am trying ...

3. Jersey Client forgets Accept headers on redirect    stackoverflow.com

I'm trying to use Jersey as a client for a RESTful application. Specifically I'd like to POST some JSON to the server and get JSON back, so my code looks like ...

4. How to override response header in jersey client    stackoverflow.com

I have a jersey client that I am trying to unmarshall a response entity with. The problem is the remote web service sends back application/octet-stream as the content type so Jersey ...

5. Jersey Rest: Importing headers from a Map into a WebResource instance    stackoverflow.com

I am trying to take in an arbitrary set of HTTP headers and dump it into a WebResource instance. The WebResource interface allows one to do this with query parameters as ...

6. jersey.api.client.WebResource - how to debug/log the request headers    stackoverflow.com

I am using jersey to generate http requests and I would like to be able to see the request before it is sent (for debugging purposes). For example:

WebResource resource = client.resource(url);
resource.header("aa", "bb");
resource.getHeaders(); ...