public interface ResponseRewriterRegistry
ResponseRewriters.| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
rewriteHttpResponse(HttpRequest req,
HttpResponse resp,
Gadget gadget)
Rewrites an
HttpResponse object with the given request as context,
using the registered rewriters. |
HttpResponse rewriteHttpResponse(HttpRequest req, HttpResponse resp, Gadget gadget) throws RewritingException
HttpResponse object with the given request as context,
using the registered rewriters.req - Request object for context.resp - Original response object.gadget - Gadget that may have been making the request.RewritingException - In case of errors.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.