com.genexus.servlet.http.HttpServletResponseWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxwrapperjavax Show documentation
Show all versions of gxwrapperjavax Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
The newest version!
package com.genexus.servlet.http;
import com.genexus.servlet.ServletOutputStream;
import com.genexus.servlet.IServletOutputStream;
import java.io.IOException;
public abstract class HttpServletResponseWrapper extends javax.servlet.http.HttpServletResponseWrapper implements IHttpServletResponseWrapper{
public abstract IServletOutputStream getWrapperOutputStream() throws IOException;
public HttpServletResponseWrapper(IHttpServletResponse response) {
super(((HttpServletResponse)response).getWrappedClass());
}
public void addCookie(ICookie cookie) {
super.addCookie((Cookie)cookie);
}
@Override
public javax.servlet.ServletOutputStream getOutputStream() throws IOException {
return ((ServletOutputStream) getWrapperOutputStream()).getWrappedClass();
}
public IServletOutputStream getWrappedOutputStream() throws IOException {
return new ServletOutputStream(super.getOutputStream());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy