Skip to content

Documentation Clarification on RestClient and Custom properties contains errors? #487

@tmulle

Description

@tmulle

@lwitkowski

I'm a little unclear on how to use the custom properties extension according to your documentation.

In my tester https://github.com/tmulle/quarkus-resteasy-problem-test

How would I pass a custom HttpProblem from the server side up to my RestClient running in another process?

Using straight HttpProblem with my example it now works and no longer causes the truncation! Great work!

My questions are:

  1. Where does the custom MyHttpProblem code go? in the server (throwing side)? or in the client (Catching side) or both?

  2. Your example of the custom MyHttpProblem doesn't compile because it complains about a missing explicit constructor.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions