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 java.lang.Object
implements IWebProxyState

WebProxyStateImpl represents the default JPA/Hibernate implementation of IWebProxyState.

Author:
Jen Bourey, jbourey@unicon.net

Constructor Summary
WebProxyStateImpl()
          Default constructor
WebProxyStateImpl(java.lang.String stateKey)
          Construct a new WebProxyStateImpl with the specified state key.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<ICookie> getCookies()
          Retrieve a list of cookies associated with this state.
 java.lang.String getStateKey()
          Get the unique key associated with this state.
 int hashCode()
           
 void setCookies(java.util.List<ICookie> cookies)
          Set the list of cookies associated with this state.
 java.lang.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(java.lang.String stateKey)
Construct a new WebProxyStateImpl with the specified state key.

Parameters:
stateKey -
Method Detail

getStateKey

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

Specified by:
getStateKey in interface IWebProxyState
Returns:

getCookies

public java.util.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(java.util.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 java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 Jasig. All Rights Reserved.