AnsweredAssumed Answered

Setting response header when using DeclarativeWebScript

Question asked by subwiz on Dec 17, 2010
Latest reply on Dec 17, 2010 by patil
We have in our existing project WebScripts written extending DeclarativeWebScript class (and overriding executeImpl(…) method). I see that in DeclarativeWebScript class execute() method has definition like this:

public final void execute(WebScriptRequest req, WebScriptResponse res) throws IOException {…}

Since this method is final, I am not able to override this method and get the WebScriptResponse object for setting response header. Is there some way I can set response header without making major changes in the code?