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

io.baltoro.to.ResponseContext Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.to;

import java.util.Map;

public class ResponseContext
{

	private String redirect;
	private String error;
	private String sessionId;
	private String mimeType;
	private Map headers; 
	private Map cookies;
	private long lastModifiedOn;
	private boolean sendNotModified; 
	private byte[] data;
	public boolean hasBinaryData = false;
	public boolean noReturnData = false;
	
	public String getRedirect()
	{
		return redirect;
	}
	public void setRedirect(String redirect)
	{
		this.redirect = redirect;
	}
	
	public void sendRedirect(String redirect)
	{
		this.redirect = redirect;
	}
	
	public String getError()
	{
		return error;
	}
	public void setError(String error)
	{
		this.error = error;
	}
	public String getSessionId()
	{
		return sessionId;
	}
	public void setSessionId(String sessionId)
	{
		this.sessionId = sessionId;
	}
	public Map getHeaders()
	{
		return headers;
	}
	public void setHeaders(Map headers)
	{
		this.headers = headers;
	}
	public Map getCookies()
	{
		return cookies;
	}
	public void setCookies(Map cookies)
	{
		this.cookies = cookies;
	}


	public String getMimeType()
	{
		return mimeType;
	}
	public void setMimeType(String mimeType)
	{
		this.mimeType = mimeType;
	}
	public long getLastModifiedOn()
	{
		return lastModifiedOn;
	}
	public void setLastModifiedOn(long lastModifiedOn)
	{
		this.lastModifiedOn = lastModifiedOn;
	}
	public boolean isSendNotModified()
	{
		return sendNotModified;
	}
	public void setSendNotModified(boolean sendNotModified)
	{
		this.sendNotModified = sendNotModified;
	}
	public byte[] getData()
	{
		return data;
	}
	public void setData(byte[] data)
	{
		this.data = data;
	}
	

	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy