PrintWriterResponseWrapper.java
804 Bytes
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.apache.sling.api.SlingHttpServletResponse
* org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
*/
package com.adobe.cq.sightly.internal;
import java.io.IOException;
import java.io.PrintWriter;
import org.apache.sling.api.SlingHttpServletResponse;
import org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper;
public class PrintWriterResponseWrapper
extends SlingHttpServletResponseWrapper {
private final PrintWriter writer;
public PrintWriterResponseWrapper(PrintWriter writer, SlingHttpServletResponse wrappedResponse) {
super(wrappedResponse);
this.writer = writer;
}
public PrintWriter getWriter() throws IOException {
return this.writer;
}
}