Skip to content

HttpRequest raw usage (recursive definition?) #446

Answered by ryber
jlarroque asked this question in Q&A
Discussion options

You must be logged in to vote

yes, the type is recursive because it's a builder and as you get more specific there are instances of the builder that have new options (posts can have bodies, gets cant, multi-part bodies have options that single part's cant, etc)

There isn't anything wrong with how you are using it, Sonar is just a suggestion, it's not always right. But you can probably get it to shut up with HttpRequest<?> request = ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jlarroque
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants