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

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

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

import java.util.Map;

public class RequestContext
{

	private String url;
	private String ip;
	private String sessionId;
	private boolean invalidateSession = false;
	private String method;
	private Map headers; 
	private Map cookies;
	private Map requestParams;
	private byte[] data;
	private String apiPath;
	private String relativePath;
	private boolean authRequired;
	private String roles;
	private long ifModifiedSince;

	
	public String getUrl()
	{
		return url;
	}
	public void setUrl(String url)
	{
		this.url = url;
	}
	public String getIp()
	{
		return ip;
	}
	public void setIp(String ip)
	{
		this.ip = ip;
	}
	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 Map getRequestParams()
	{
		return requestParams;
	}
	public void setRequestParams(Map requestParams)
	{
		this.requestParams = requestParams;
	}
	public byte[] getData()
	{
		return data;
	}
	public void setData(byte[] data)
	{
		this.data = data;
	}
	public String getApiPath()
	{
		return apiPath;
	}
	public void setApiPath(String apiPath)
	{
		this.apiPath = apiPath;
	}
	public String getRelativePath()
	{
		return relativePath;
	}
	public void setRelativePath(String relativePath)
	{
		this.relativePath = relativePath;
	}
	public String getMethod()
	{
		return method;
	}
	public void setMethod(String method)
	{
		this.method = method;
	}
	public boolean isAuthRequired()
	{
		return authRequired;
	}
	public void setAuthRequired(boolean authRequired)
	{
		this.authRequired = authRequired;
	}
	public String getRoles()
	{
		return roles;
	}
	public void setRoles(String roles)
	{
		this.roles = roles;
	}
	public long getIfModifiedSince()
	{
		return ifModifiedSince;
	}
	public void setIfModifiedSince(long ifModifiedSince)
	{
		this.ifModifiedSince = ifModifiedSince;
	}
	public boolean isInvalidateSession()
	{
		return invalidateSession;
	}
	public void setInvalidateSession(boolean invalidateSession)
	{
		this.invalidateSession = invalidateSession;
	}
	
	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy