edu.wisc.my.webproxy.beans.http
Interface IWebProxyStateDao

All Known Implementing Classes:
WebProxyStateJpaDaoImpl

public interface IWebProxyStateDao

IWebProxyStateDao provides an interface for persisting and retrieving web proxy state information. This state may include information such as any cookies.

Author:
Jen Bourey, jbourey@unicon.net

Method Summary
 IWebProxyState getState(String id)
          Retrieve an IWebProxyState from the store by its unique String key.
 void purgeExpiredCookies()
          Purge expired cookies
 IWebProxyState saveState(IWebProxyState state)
          Save an IWebProxyState to the store.
 

Method Detail

getState

IWebProxyState getState(String id)
Retrieve an IWebProxyState from the store by its unique String key. If no state currently exists for the given key, the method will return null

Parameters:
id -
Returns:

saveState

IWebProxyState saveState(IWebProxyState state)
Save an IWebProxyState to the store.

Parameters:
state -
Returns:

purgeExpiredCookies

void purgeExpiredCookies()
Purge expired cookies



Copyright © 2010 Jasig. All Rights Reserved.