java - JAX-RS request taking custom object -


in specific jax-rs based web service implementation there need of custom object sent in web service request. aware of returning objects jax-rs based web service not quite sure of sending object during request.

can body me regarding this?

thanks in advance, arijit bose

you should implement messagebodyreader custom object such that:

public class yourclassreader implements messagebodyreader<yourclass> {     @override     public boolean isreadable...      @override     yourclass readfrom... } 

Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -