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

com.genexus.servlet.http.IHttpServletResponse 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 java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.Collection;

import com.genexus.servlet.IServletOutputStream;

public interface IHttpServletResponse {
	void setHeader(String name, String value);
	void setHeader(String name, String value, boolean sanitize);
	void addDateHeader(String name, long date);
	void setDateHeader(String name, long date);
	void addHeader(String name, String value);
	void setStatus(int sc);
	void sendError(int sc) throws IOException, IllegalStateException;
	void sendError(int sc, String msg) throws java.io.IOException;
	void setContentType(String type);
	void reset();
	void flushBuffer() throws IOException;
	PrintWriter getWriter() throws IOException, IllegalStateException, UnsupportedEncodingException;
	boolean isCommitted();
	void addCookie(ICookie cookie);
	void setContentLength(int len);
	Collection getHeaders(String name);
	void setBufferSize(int size);
	IServletOutputStream getOutputStream() throws java.io.IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy