Top "Jersey" questions

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

JAX-RS @PathParam How to pass a String with slashes, hyphens & equals too

I am new to JAX-RS and I am trying to use Jersey to build a simple RESTful Webservice. I have 2 …

java rest jersey jax-rs
Why use JAX-RS / Jersey?

Sorry, this questions sounds silly, but after developing some of my RESTful services using Jersey, I asked myself the question …

rest jersey jax-rs
Can we have more than one @Path annotation for same REST method

Can we have more than one @Path annotation for same REST method i.e. the method executed is the same, …

java rest jersey jax-rs
Adding authorization header to Jersey SSE Client request

I am using Jersey client to connect to an SSE stream. The server requires that I add a header to …

java http-headers jersey authorization server-sent-events
Jersey returns HTTP Status 405 - Method Not Allowed

I have a very simple endpoint using Jersey. My URL is static, it doesn't require any request parameters. It looks …

java tomcat jersey jax-ws
How can I customize serialization of a list of JAXB objects to JSON?

I'm using Jersey to create a REST web service for a server component. The JAXB-annotated object I want to serialize …

json jaxb serialization jersey jax-rs
How to reuse Jersey's JSON/JAXB for serialization?

I have a JAX-RS REST service implemented using Jersey. One of the cool features of JAX-RS/Jersey is how easily …

json jersey jax-rs
JAX-RS using exception mappers

I have read that I can create an implementation of javax.ws.rs.ext.ExceptionMapper that will map a thrown …

java exception-handling jakarta-ee jersey jax-rs
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
org.glassfish.jersey.internal.RuntimeDelegateImpl NOT FOUND

I am using jersey for my project and tring to parse a URI from a string. UriBuilder.fromUri("http://localhost:8000").…

java rest glassfish jersey jax-rs