We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given:
{ post("/path", req -> req.param("foo").toOptional()); }
A call to POST /path prints Optional.empty
POST /path
Optional.empty
While a call to POST /path?foo= prints "" (empty string)
POST /path?foo=
""
Next release will handle absent or empty string parameter as optional parameter, so both example will print Optional.empty
The text was updated successfully, but these errors were encountered:
86ab10a
No branches or pull requests
Given:
A call to
POST /path
printsOptional.empty
While a call to
POST /path?foo=
prints""
(empty string)Next release will handle absent or empty string parameter as optional parameter, so both example will print
Optional.empty
The text was updated successfully, but these errors were encountered: