public interface ResponseRewriter
| Modifier and Type | Method and Description |
|---|---|
void |
rewrite(HttpRequest request,
HttpResponseBuilder response,
Gadget gadget)
Rewrites the response.
|
void rewrite(HttpRequest request, HttpResponseBuilder response, Gadget gadget) throws RewritingException
request - The request that was made.response - The response generated as a result of the request.gadget - The gadget that made the request. This parameter may be null.RewritingException - Thrown if something went wrong when rewriting the response.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.