This topic has not yet been written. The content below is from the topic description.
@Path("/") public interface MyProxy { @Consumes("application/xml") @PUT public void put(@GZIP Order order); } In the above example, we tag the outgoing message body, order, to be gzip compressed. You can use the same annotation to tag server responses @Path("/") public class MyService { @GET @Produces("application/xml") @GZIP public String getData() {...} }