Top "Jax-rs" questions

JAX-RS: Java API for RESTful Web Services.

Convert JSON query parameters to objects with JAX-RS

I have a JAX-RS resource, which gets its paramaters as a JSON string like this: http://some.test/aresource?query={"…

java json jakarta-ee jax-rs
What difference between Jersey vs jax-rs

I really cant understand what really is jersey.. What I know is that Jax-RS is an API for building REST …

java jersey jax-rs
JAX-RS jersey ExceptionMappers User-Defined Exception

I am new to this, trying to achieve reading some docs but its not working, please bear with me. I …

java web-services rest jersey jax-rs
JAX-RS: Multiple paths

Is it possible to do something like that? import javax.ws.rs.GET; import javax.ws.rs.Path; public class …

java jax-rs
Using @Context, @Provider and ContextResolver in JAX-RS

I'm just getting acquainted with implementing REST web services in Java using JAX-RS and I ran into the following problem. …

java jersey jax-rs
What objects can I inject using the @Context annotation?

I'm new to JAX-RS and I'm trying to understand how the @Context annotation is supposed to work. At the javadoc …

java jersey jax-rs
how to PUT multiple query parameter in REST web service

Do anyone know how to PUT multiple query parameter in REST web service? I have write using java.My curl …

web-services rest curl jax-rs query-parameters
Unable to find a MessageBodyReader of content-type application/json and type class java.lang.String

I am using RestEasy client with jackson providers and getting the above error clientside code is: ClientRequest request = new ClientRequest(…

json rest jax-rs jackson resteasy
Get HttpServletRequest in Jax Rs / Appfuse application?

I created a basic application shell with AppFuse, and followed the AppFuse tutorial to create a a simple RESTful service …

java rest servlets jax-rs appfuse
What exactly is the ResourceConfig class in Jersey 2?

I have seen a lot of Jersey tutorials that starts with something like @ApplicationPath("services") public class JerseyApplication extends ResourceConfig { …

jersey jax-rs jersey-2.0