public class AccelResponseRewriterRegistry extends DefaultResponseRewriterRegistry
htmlParser, rewriters| Constructor and Description |
|---|
AccelResponseRewriterRegistry(List<ResponseRewriter> rewriters,
GadgetHtmlParser htmlParser) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
rewriteHttpResponse(HttpRequest req,
HttpResponse resp)
Rewrites an
HttpResponse object with the given request as context,
using the registered rewriters. |
@Inject public AccelResponseRewriterRegistry(List<ResponseRewriter> rewriters, GadgetHtmlParser htmlParser)
public HttpResponse rewriteHttpResponse(HttpRequest req, HttpResponse resp) throws RewritingException
HttpResponse object with the given request as context,
using the registered rewriters.rewriteHttpResponse in interface ResponseRewriterRegistryrewriteHttpResponse in class DefaultResponseRewriterRegistryreq - Request object for context.resp - Original response object.RewritingExceptionCopyright © 2007-2012. All Rights Reserved.