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
a common example is to have a create/update handler where the id is optional for create and present for update, something like:
post("/model", "/model/:id", req -> { Optional<String> id = req.param("id").toOptional(String.class); ... });
In addition org.jooby.mvc.Path should support multiples patterns too:
org.jooby.mvc.Path
@Path({"/model", "/model/:id"}) @GET public Object createORUpdate(Optional<String> id) { ... }
The text was updated successfully, but these errors were encountered:
bd0e00c
No branches or pull requests
a common example is to have a create/update handler where the id is optional for create and present for update, something like:
In addition
org.jooby.mvc.Path
should support multiples patterns too:The text was updated successfully, but these errors were encountered: