org.apache.shindig.gadgets.rewrite
Interface ResponseRewriterRegistry
- All Known Implementing Classes:
- AccelResponseRewriterRegistry, DefaultResponseRewriterRegistry
public interface ResponseRewriterRegistry
Performs rewriting operations by invoking one or more ResponseRewriters.
- Since:
- 2.0.0
rewriteHttpResponse
HttpResponse rewriteHttpResponse(HttpRequest req,
HttpResponse resp)
throws RewritingException
- Rewrites an
HttpResponse object with the given request as context,
using the registered rewriters.
- Parameters:
req - Request object for context.resp - Original response object.
- Returns:
- Rewritten response object, or resp if not modified.
- Throws:
RewritingException
Copyright © 2007-2012. All Rights Reserved.