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
3.x ServerRequest has next().continue request processing on the next registered handler.
The text was updated successfully, but these errors were encountered:
The method has moved to ServerResponse.next()
Sorry, something went wrong.
My code:
@Override public void routing(HttpRules rules) { rules .any((req, res) -> { req.headers().contentType().ifPresent(mt -> { if (!mt.equals(MediaTypes.APPLICATION_JSON)) { sendUndefinedMediaType(res, mt.toString()); } else { req.next(); } }); }) .route(Http1Route.route(DELETE, "/", new DelData()::execute)) .any((req, res) -> sendNotFound(res, "404")); }
What should I do after using ServerResponse.next()?
Nothing, you simply return, that part hasn't changed.
romain-grecourt
No branches or pull requests
Environment Details
Problem Description
3.x ServerRequest has next().continue request processing on the next registered handler.
The text was updated successfully, but these errors were encountered: