Hello and thanks for your response.
I can´t use setQuery for two things.
One, setQuery needs to be a valid query and it is used to query the datasource, not to send custom parameters. In my tomcat I have got two steps, in the first one I query the database with my custom mysql query (and here is where I need the custom parameters), and the second one it just query the DataTable (the result of the first query) with whatever it is in Query#setQuery.
Two. The content of setQuery is appended to the URL so is sent equaly by GET. So same restrictions apply.