All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.servlet.http.HttpServletResponseWrapper Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.3
Show 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 jakarta.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 jakarta.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