Class PreviewWikibaseSchemaCommand


  • public class PreviewWikibaseSchemaCommand
    extends Command
    • Constructor Detail

      • PreviewWikibaseSchemaCommand

        public PreviewWikibaseSchemaCommand()
    • Method Detail

      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws Exception
        This command uses POST but is left CSRF-unprotected since it does not incur a side effect or state change in the backend. The reason why it uses POST is to make sure large schemas and engines can be passed as parameters.
        Overrides:
        doPost in class Command
        Throws:
        Exception