I need to implement an OAuth protocol service provider in a project that uses Tapestry5. So I just need to return a very simple HTTP response body, which is neither HTML nor JSON.
At first I tried using the standard tml and pojo (java class, page) approach, but this does not work because Tapestry is trying to parse the templates.
So I think I need to try something else. Maybe you can use the render () method on the page? But I could not find documentation that could answer this question.
Or should I use a different infrastructure that best suits my needs?
Thank you for your advice,
Richard
source share