Refactor HtmlAccelServlet to more of a "true" proxy model (ie. as 
HtmlAccelHandler, similar to ProxyHandler).
-------------------------------------------------------------------------------------------------------------

                 Key: SHINDIG-1351
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1351
             Project: Shindig
          Issue Type: Improvement
          Components: Java
            Reporter: John Hjelmstad


The prototype implementation of HtmlAccelServlet has been interesting for 
trying things out, but is a little wonky. Creation of a fake Gadget object in 
particular is odd. HtmlAccelServlet is really just a proxy, so should be 
refactored to look more like ProxyServlet:

* @Inject ResponseRewriterRegistry, RequestPipeline
* Use existing selection logic to retrieve Uri to process
* Fetch with RequestPipeline
* Rewrite with ResponseRewriterRegistry
* Emit results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to