b4x-de Active Member Licensed User Longtime User Dec 29, 2021 #1 Hello, the current filter implementation in a B4JServer is a request filter where the final response is not accessible yet. I would like to use a filter class for the response (to implement a tiny template engine). How can I implement a Filter on the response? (I know I can implement Handlers to solve this. I did it in a project already. But now I want to use a Filter.) Thanks, Thomas
Hello, the current filter implementation in a B4JServer is a request filter where the final response is not accessible yet. I would like to use a filter class for the response (to implement a tiny template engine). How can I implement a Filter on the response? (I know I can implement Handlers to solve this. I did it in a project already. But now I want to use a Filter.) Thanks, Thomas
Erel B4X founder Staff member Licensed User Longtime User Dec 30, 2021 #2 b4x-de said: (I know I can implement Handlers to solve this. I did it in a project already. But now I want to use a Filter.) Click to expand... Why? It is not the role of Filter handlers. Upvote 0
b4x-de said: (I know I can implement Handlers to solve this. I did it in a project already. But now I want to use a Filter.) Click to expand... Why? It is not the role of Filter handlers.