Top "Jax-rs" questions

JAX-RS: Java API for RESTful Web Services.

How to register jackson json provider for cxf jax-rs 2.0 client?

I have a JAX-RS client that's making a simple GET request. I'm using the CXF implementation and Spring for DI. …

java rest jackson cxf jax-rs
How can I return a Zip file from my Java server-side using JAX-RS?

I want to return a zipped file from my server-side java using JAX-RS to the client. I tried the following …

java jersey jax-rs filestream outputstream
Catch all Exceptions and also return custom Errors in Jersey

I want to catch all unexpected Exceptions in a jersey rest service. Therefore i wrote an ExceptionMapper: @Provider public class …

java jersey jax-rs jersey-2.0
How to forward from a JAX-RS service to JSP?

JBoss Version: 4.2.3GA. This works in apache tomcat 6.0. In JBoss, I had to add the following setting: -Dorg.apache.catalina.…

jsp http jakarta-ee jax-rs jboss-4.2.x
REST using JAX RS or Spring MVC

I'm trying to build a REST web service (server side) that will allow a partner system to connect/POST order …

rest spring-mvc jax-rs resteasy
CXF/ JAX-RS : Return Custom response from interceptor

We need to return custom error code and error message when exception occurs during REST invocation. We have created a …

java exception cxf jax-rs interceptor
Jersey Image Upload Client

I am trying to upload image using Jersey webservice , i am using jersey client to upload image. below is jersey …

java jersey jax-rs jersey-client jersey-1.0
How to configure Jackson in Wildfly?

I've got a Session Bean with the following method: @POST @Consumes("application/x-www-form-urlencoded") @Path("/calculate") @Produces("application/json") public CalculationResult …

java rest jackson jax-rs wildfly
Jax-rs json pretty output

in Java when i use the @Produces("application/json") annotation the output is not formated into human readable form. How …

java jax-rs jackson pretty-print
Configuring proxy for JAX-RS 2.0 client API

I have an application that is running on a Java EE 7 application server (WildFly), that queries another service using REST …

jax-rs java-ee-7