Set isBlocking true if the input type uses a handler that blocks. #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm sure there's a better way to do this, but I'm not sure what it is. I'm building something with Proteus that accepts Posts and returns json. As best I can tell, Proteus determines whether a method is blocking or not based solely on the output type. Since I'm not using one of the output types that is blocking, it assumes my method isn't blocking.
Of course, the input handler for multipart IS blocking, resulting in undertow throwing an exception. I looked for where input handlers are configured during generation, but I couldn't find anything.
So, I resorted to this hack.
Thanks for Proteus, it's exactly what I was looking for!