Package org.ocpsoft.rewrite.transform
Interface Transformer
- All Known Implementing Classes:
StringTransformer
public interface Transformer
Implementations of this interface are able to transform streamed data. Classes implementing this interface can be
added via
Transposition to modify an intercepted ServletResponse.getOutputStream().- Author:
- Christian Kaltepoth
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidtransform(HttpServletRewrite event, InputStream input, OutputStream output) Transposition the givenInputStreamand write it to the givenOutputStream.
-
Method Details
-
transform
Transposition the givenInputStreamand write it to the givenOutputStream.- Throws:
IOException
-