header « restful « Java Enterprise Q&A





1. Insert info into an HTTP header    stackoverflow.com

I’m trying to add some data to the http header that comes back from a RESTful web service call. Is it possible to use JAX-RS or something else to add data ...

2. Content type when accept header is empty or unknown jax-rs    stackoverflow.com

What is the default content returned when accept header is empty? The below code returns application/xml when accept header is empty which maps to findAll(). Is there a way to force jax-rs ...

3. How to add headers in REST response from Oracle weblogic server 11g?    stackoverflow.com

How to add headers in REST response from Oracle weblogic server 11g for supports to cross-site xmlhttprequest with CORS.

4. Problem with POST header in Java REST WS    stackoverflow.com

I'm trying to a write simple REST Java web-service. I use Provider interface on the server side and Dispatch on the clients. I'm trying to transmit a value in header of ...

5. how to received "Accept" header in REST web service server side    stackoverflow.com

i have write a REST web service in java.But If I want to receive Accept : application/json header ,how to do that?If I want to receive more custom header like "CDMI-Speciation-1.0" ...

6. SOAP headers in WCF REST error    stackoverflow.com

I have that error :

Operation 'GetFields' in contract 'IService' uses a MessageContract that has SOAP headers. SOAP headers are not supported by the None MessageVersion.
The problem is that my ...