<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi folks, </div><div><br></div><div>I have a <i>HttpHandler</i> that I want to reach with POST requests <i>only</i>. </div><div>I tried <i>exchange.setRequestMethod(new HttpString("POST”))</i> inside <i>handleRequest()</i>, but the <i>HttpHandler</i> still responds to <i>GET</i> requests. </div><div><br></div><div>Is there any way to do this? </div><div><br></div><div>In case you’d like to check out the code, it can be found <span style="color: rgb(0, 0, 0);"><a href="https://github.com/Dinduks/cacophony/blob/f528633cafffc22e5bb354360f7310fe8a453c67/src/main/java/com/dindane/cacophony/App.java">here</a></span>. </div><div>Thank you. </div><div><br></div><div>Samy </div></body></html>