Help writing a custom plugin to allow only GET requests

Hi, I'm trying to write an action plugin that will intercept REST requests using the getRestHandlerWrapper()method in the ActionPlugin class. However, it says that only one plugin can implement this method. How do I remove the existing plugin that implements this from elasticsearch locally? Also, is there any other way I could make a plugin to intercept requests? I tried looking at the ActionFilter class, but I had no idea how to begin. Basically the plugin should allow only GET requests, and disallow POST requests.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.