[undertow-dev] Force a HttpHandler to accept POST only
Samy Dindane
samy at dindane.com
Sun Dec 8 12:09:23 EST 2013
Hi folks,
I have a HttpHandler that I want to reach with POST requests only.
I tried exchange.setRequestMethod(new HttpString("POST”)) inside handleRequest(), but the HttpHandler still responds to GET requests.
Is there any way to do this?
In case you’d like to check out the code, it can be found here.
Thank you.
Samy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20131208/38e434fd/attachment.html
More information about the undertow-dev
mailing list