Top "Jax-rs" questions

JAX-RS: Java API for RESTful Web Services.

How does one intercept a request during the Jersey lifecycle?

I've used Jersey for the better part of a year now and have just stumbled upon a problem to which …

java api jax-ws jersey jax-rs
What's the difference between QueryParam and MatrixParam in JAX-RS?

What's the difference between the JAX-RS @QueryParam and @MatrixParam? From the documents.The queryparam and matrixparam both can location one …

java jax-rs
In JAX RS, differences between returning Response and Bean or Collection of Beans (DTO)

I am working on building a REST api. My question is, when using Jersey, what are the differences between my …

rest jax-rs jakarta-ee
Using default Providers/MessageBodyWriters in Jersey 2

Just starting with Jersey, I've been trying to reproduce the simple example in the latest Jersey documentation 'building responses'. This …

rest jax-rs server jersey-2.0 java-6
ContainerRequestFilter ContainerResponseFilter doesn't get called

I am trying to learn jersey by creating a small RESTful service. I want to use the Filters for specific …

rest servlets jersey jax-rs httpresponse
How to resolve MessageBodyWriter not found for media type=multipart/form-data error

How to configure provider for simple multi-form post. Any suggestions/pointers would be much appreciated. Stacktrace: org.glassfish.jersey.message.…

java jax-rs jersey-client
How do I do a multipart/form file upload with jax-rs?

(specifically RESTeasy) It would be nice (for a single file) to have a method signature like: public void upload(@FormParam("…

jax-rs resteasy
How to have a @PATCH annotation for JAX-RS?

JAX-RS has annotations for HTTP verbs such as GET (@GET) and POST (@POST) but there is no @PATCH annotation. How …

java jax-rs
NoSuchMethodError on startup in Java Jersey app

I've been getting a very strange error when trying to start a Jersey app on Tomcat. The same code works …

java maven jersey jax-rs jersey-2.0
Restful Client from WADL

Is there any way generating automatically a jax-rs client with HttpUrlConnection or third party soloutions like jersey, apache, restlet etc. …

rest jax-rs wadl