Top "Jersey" questions

Jersey is the open source, production quality, JAX-RS (JSR 311, JSR 339) Reference Implementation for building RESTful Web services.

How to access parameters in a RESTful POST method

My POST method looks like this: @POST @Consumes({"application/json"}) @Path("create/") public void create(String param1, String param2){ System.…

java web-services rest jersey jax-rs
What's the difference between text/xml vs application/xml for webservice response

This is more of a general question about the difference between text/xml and application/xml. I am fairly new …

xml rest jersey
java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer

I am trying to build a simple hello world application for two days using Jersey + Google app engine. For simple …

eclipse google-app-engine jakarta-ee jersey jersey-2.0
The ResourceConfig instance does not contain any root resource classes

What's going wrong here? The ResourceConfig instance does not contain any root resource classes. Dec 10, 2010 10:21:24 AM com.sun.jersey.spi.…

jersey
Jersey client: How to add a list as query parameter

I'm creating a Jersey client for a GET service that has a List as query parameter. According to the documentation, …

java rest jersey
what's the correct way to send a file from REST web service to client?

I've just started to develop REST services, but I've come across a difficult situation: sending files from my REST service …

java json web-services rest jersey
JAX-RS / Jersey how to customize error handling?

I'm learning JAX-RS (aka, JSR-311) using Jersey. I've successfuly created a Root Resource and am playing around with parameters: @Path("/…

java rest error-handling jersey jax-rs
How to add Headers on RESTful call using Jersey Client API

Here is the Format for RESTful call: HEADERS: Content-Type: application/json;charset=UTF-8 Authorization: Bearer Rc7JE8P7XUgSCPogjhdsVLMfITqQQrjg REQUEST: …

java rest header request jersey
org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException

I have been getting a ClassNotFoundException with org.glassfish.jersey.servlet.ServletContainer but it peculiarly started last night when I …

java tomcat jersey glassfish classnotfoundexception
Ignore self-signed ssl cert using Jersey Client

I'm using the Jersey Client library to run tests against a rest service running on jboss. I have https set …

java ssl ssl-certificate jersey