Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] PATCH method in Jetty 9.2

Hi Greg,

in the end I verified that it was AtmosphereServlet, the websocket framework, that was  not handling the PATCH method. I was able to solve it as you suggested by extending AtmosphereServlet and by setting my new class as the main servlet of my webapp.

Thanks a lot!


Il 03/12/2015 16:50, Greg Wilkins ha scritto:

that is coming from the specification provided class HttpServlet

To avoid that, your servlet needs to override the service method of the servlet to handle additional methods.


On 4 December 2015 at 08:33, Roberto Francescangeli <roberto.francescangeli@xxxxxxxxx> wrote:
Hi all,

I just upgraded my web application to use Jetty 9 and when I finally finished configuring the server and everything started up properly, I found out that whenever a client sends a PATCH request my server simply replies with a 501 error saying that "Method PATCH is not defined in RFC 2068 and is not supported by the Servlet API".

Is there any way to re-enable PATCH in jetty 9?
Maybe some module that I should enable? Or maybe I should add support for PATCH in some other way?

For your reference, I am using a standalone jetty 9.2 server configured with XML files.

Thanks all for the help!

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


Back to the top