|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.CSnoop
public class CSnoop
A channel which displays HTTP request and HTML header info. This channel implements IPrivilegedChannel rather than IChannel because it needs access to the HttpServletRequest object.
This channel was partially developed at Columbia University as an exercise.
| Field Summary | |
|---|---|
private static java.lang.String |
bundleLocation
|
private PortalControlStructures |
pcs
|
private ChannelRuntimeData |
runtimeData
|
private static java.lang.String |
sslLocation
|
| Constructor Summary | |
|---|---|
CSnoop()
No-argument constructor for CSnoop. |
|
| Method Summary | |
|---|---|
private void |
addInfo(org.w3c.dom.Element parentElement,
java.lang.String name,
java.lang.String value)
Adds a text node with the given name and value. |
ChannelRuntimeProperties |
getRuntimeProperties()
Returns channel runtime properties. |
void |
receiveEvent(PortalEvent ev)
Processes layout-level events coming from the portal |
void |
renderXML(org.xml.sax.ContentHandler out)
Output channel content to the portal |
void |
setPortalControlStructures(PortalControlStructures pcs)
Sends portal control structures to the portal, i.e. |
void |
setRuntimeData(ChannelRuntimeData rd)
Receives channel runtime data from the portal and processes actions passed to it. |
void |
setStaticData(ChannelStaticData sd)
Receive static channel data from the portal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private PortalControlStructures pcs
private ChannelRuntimeData runtimeData
private static final java.lang.String sslLocation
private static final java.lang.String bundleLocation
| Constructor Detail |
|---|
public CSnoop()
| Method Detail |
|---|
public void setPortalControlStructures(PortalControlStructures pcs)
setPortalControlStructures in interface IPrivilegedpcs - the portal control structuresPortalControlStructurespublic ChannelRuntimeProperties getRuntimeProperties()
getRuntimeProperties in interface IChannelChannelRuntimePropertiespublic void receiveEvent(PortalEvent ev)
receiveEvent in interface IChannelev - a portal layout eventPortalEventpublic void setStaticData(ChannelStaticData sd)
setStaticData in interface IChannelsd - static channel dataChannelStaticDatapublic void setRuntimeData(ChannelRuntimeData rd)
setRuntimeData in interface IChannelrd - handle to channel runtime dataChannelRuntimeData
public void renderXML(org.xml.sax.ContentHandler out)
throws PortalException
renderXML in interface IChannelout - a sax document handler
PortalException
private void addInfo(org.w3c.dom.Element parentElement,
java.lang.String name,
java.lang.String value)
parentElement - parent of the node to be addedname - name of the node to addvalue - String value of the node to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||