Hello,

TL;DR

  1.  Am I correct in saying that knox will not rewrite application/hal+json 
content-type responses?
  2.  If so, can I write an extension to knox to make it do so?
  3.  And if so, where do I begin?

I have a GUI I’m putting behind knox and part of that application returns 
application/hal+json responses (as opposed to application/json). Knox is 
working for everything except those APIs that return the application/hal+json 
responses: the GUI, comes up, I can navigate across pages, etc.) but of course 
some data is missing.

How can I get knox to rewrite the special JSON? I have tried:

<content type="*/*">
<content type="application/*">
<content type="application/json">

I see that knox supports extensions and I’ve seen the code for the 
JsonUrlRewriteStreamFilter, but other than that I don’t know where to begin.




Thanks,

Billy Watson

Reply via email to