|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.webproxy.CWebProxy.ChannelState
protected class CWebProxy.ChannelState
All state variables are stored in this inner class. It would probably be an improvement to extract this inner class into its own fully fledged class in the cwebproxy package, thereby enforcing that its properties are only accessed via getter and setter methods that would need to be added.
| Constructor Summary | |
|---|---|
CWebProxy.ChannelState(IUriScrutinizer uriScrutinizerArg)
|
|
| Method Summary | |
|---|---|
Object |
getCacheContent(String key)
|
long |
getCacheContentLoaded()
|
IPerson |
getIPerson()
|
void |
setCacheContent(String key,
Object data)
Storing cache data is straigt-forward. |
void |
setXmlUri(String uriArg)
Set the xmlUri channel state property, applying URI acceptance logic before accepting the parameter. |
void |
setXmlUriNotRestricted(String uri)
Sets the xmlUri channel state property without applying URI acceptance logic. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CWebProxy.ChannelState(IUriScrutinizer uriScrutinizerArg)
| Method Detail |
|---|
public void setXmlUri(String uriArg)
uriArg - URI of XML source, or null
IllegalArgumentException - if the uriArg is not in URI syntax or is
a non-URI classpath-relative path which doesn't map to an actually existing resource.
BlockedUriException - if the URI is unacceptable for reasons of policypublic void setXmlUriNotRestricted(String uri)
public void setCacheContent(String key,
Object data)
key - the URL key Stringdata - our cache data as a String or Document Objectpublic Object getCacheContent(String key)
public long getCacheContentLoaded()
public IPerson getIPerson()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||