Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting complex objects as entities for RestClient? #45

Open
mumrah opened this issue Sep 11, 2013 · 2 comments
Open

Supporting complex objects as entities for RestClient? #45

mumrah opened this issue Sep 11, 2013 · 2 comments

Comments

@mumrah
Copy link

mumrah commented Sep 11, 2013

How would you go about sending POJOs as entities for POST/PUT requests with Ribbon? Is it a matter of including jersey-json as a dependency, or is there additional configuration/dependencies required?

@allenxwang
Copy link

RestClient delegates to Jersey Client so it is matter of configuring Jersey Client.

If necessary, you can create a Jersey Client and configure it with necessary providers. Then call RestClient constructor RestClient(Client) to pass in the Jersey Client.

@dcapwell
Copy link

Since jackson is already in the classpath, would it be possible to get jackson support out of the box for more complex json objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants