com.mockrunner.mock.web.MockSessionContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockrunner-core Show documentation
Show all versions of mockrunner-core Show documentation
Core classes common to all Mockrunner modules
package com.mockrunner.mock.web;
import java.util.Enumeration;
import java.util.Vector;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionContext;
/**
* Mock implementation of HttpSessionContext
.
*/
public class MockSessionContext implements HttpSessionContext
{
public Enumeration getIds()
{
return new Vector().elements();
}
public HttpSession getSession(String arg0)
{
return null;
}
}