Top "Jersey-2.0" questions

Jersey 2.0 is the open source, early access JAX-RS 2.0 (JSR-339) reference implementation for building RESTful Web services.

Best practice for REST token-based authentication with JAX-RS and Jersey

I'm looking for a way to enable token-based authentication in Jersey. I am trying not to use any particular framework. …

java rest authentication jax-rs jersey-2.0
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
Jersey stopped working with InjectionManagerFactory not found

I am receiving below error while running my Jersey API in Tomcat 8.5.11 which is causing my API to stop: HTTP …

java tomcat gradle jersey-2.0
Dependency injection with Jersey 2.0

Starting from scratch without any previous Jersey 1.x knowledge, I'm having a hard time understanding how to setup dependency injection …

java dependency-injection jersey jersey-2.0 hk2
how to send json object from REST client using javax.ws.rs.client.WebTarget

I have a POJO given below which I want to PUT to the server as JSON or XML. This is …

java rest jax-rs jersey-2.0 jersey-client
Custom ObjectMapper with Jersey 2.2 and Jackson 2.1

I am struggling with a REST application with Grizzly, Jersey and Jackson, because Jersey ignores my custom ObjectMapper. POM dependencies: &…

java jersey jackson jax-rs jersey-2.0
MULTIPART_FORM_DATA: No injection source found for a parameter of type public javax.ws.rs.core.Response

I am using Jersey based restful Service implementation strategy to build a service which will be used to upload files. …

java rest jersey multipartform-data jersey-2.0
Uploading file using Jersey over RESTfull service and The resource configuration is not modifiable?

@Path("file.upload") public class UploadFileService { @POST @Consumes(MediaType.MULTIPART_FORM_DATA) public Response uploadFile( @FormDataParam("file") InputStream uploadedInputStream, @FormDataParam("…

java rest file-upload jersey jersey-2.0
Jersey: No suitable constructor found for type [simple type, class Thing]: can not instantiate from JSON object

I have a resource with a method like: @PUT @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) @Path("/add") public …

java jersey jackson jersey-2.0
Jersey ContainerRequestFilter not triggered

I'm trying to use a ContainerRequestFilter to enforce some authentication on a Tomcat based Jersey application. I followed this document. …

jersey jersey-2.0