edu.wisc.my.webproxy.beans.http
Class WebProxyStateImpl

java.lang.Object
  extended by edu.wisc.my.webproxy.beans.http.WebProxyStateImpl
All Implemented Interfaces:
IWebProxyState

public class WebProxyStateImpl
extends Object
implements IWebProxyState

WebProxyStateImpl represents the default JPA/Hibernate implementation of IWebProxyState.

Author:
Jen Bourey, jbourey@unicon.net

Constructor Summary
WebProxyStateImpl()
          Default constructor
WebProxyStateImpl(String stateKey)
          Construct a new WebProxyStateImpl with the specified state key.
 
Method Summary
 boolean equals(Object obj)
           
 List<ICookie> getCookies()
          Retrieve a list of cookies associated with this state.
 String getStateKey()
          Get the unique key associated with this state.
 int hashCode()
           
 void setCookies(List<ICookie> cookies)
          Set the list of cookies associated with this state.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebProxyStateImpl

public WebProxyStateImpl()
Default constructor


WebProxyStateImpl

public WebProxyStateImpl(String stateKey)
Construct a new WebProxyStateImpl with the specified state key.

Parameters:
stateKey -
Method Detail

getStateKey

public String getStateKey()
Description copied from interface: IWebProxyState
Get the unique key associated with this state.

Specified by:
getStateKey in interface IWebProxyState
Returns:

getCookies

public List<ICookie> getCookies()
Description copied from interface: IWebProxyState
Retrieve a list of cookies associated with this state.

Specified by:
getCookies in interface IWebProxyState
Returns:

setCookies

public void setCookies(List<ICookie> cookies)
Description copied from interface: IWebProxyState
Set the list of cookies associated with this state.

Specified by:
setCookies in interface IWebProxyState

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Jasig. All Rights Reserved.