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
I'd like to capture all requests, regardless of the method used.
##technique 1: map all methods one by one
-> Not possible since patch() and options() method aren't present, so PATCH and OPTIONS request won't be mappable -> Too verbose
QuantumMaid quantumMaid = quantumMaid() .withHttpMaid(anHttpMaid() .get("/*", dumpRequest()) //.options("/*", dumpRequest()) //.patch("/*", dumpRequest()) .post("/*", dumpRequest()) .put("/*", dumpRequest()) .delete("/*", dumpRequest()).build()) .withLocalHostEndpointOnPort(port);
to route everything to one handler
-> Not possible either as there is no such support in httpmaid
QuantumMaid quantumMaid = quantumMaid() .withHttpMaid(anHttpMaid() .any("/*", dumpRequest()) .withLocalHostEndpointOnPort(port);
The text was updated successfully, but these errors were encountered:
quantummaiddeveloper
No branches or pull requests
I'd like to capture all requests, regardless of the method used.
##technique 1: map all methods one by one
-> Not possible since patch() and options() method aren't present, so PATCH and OPTIONS request won't be mappable
-> Too verbose
technique 2: catchall any() method
to route everything to one handler
-> Not possible either as there is no such support in httpmaid
The text was updated successfully, but these errors were encountered: