|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
edu.wisc.my.webproxy.beans.filtering.ChainingSaxFilter
edu.wisc.my.webproxy.beans.filtering.BaseUrlFilter
edu.wisc.my.webproxy.beans.filtering.InclExclUrlFilter
edu.wisc.my.webproxy.beans.filtering.PortletUrlFilter
public final class PortletUrlFilter
A filter that re-writes all URLs to portlet URLs
| Constructor Summary | |
|---|---|
PortletUrlFilter()
|
|
PortletUrlFilter(XMLReader parent)
|
|
| Method Summary | |
|---|---|
void |
clearData()
Called at the end of a request that the component was used in. |
protected String |
doUrlRewite(String orignialUrl,
int matchIndex,
boolean passThrough)
Rewrite URLs that match the RegEx and INCLUDE/EXCLUDE criteria. |
String |
getName()
Returns a displayable name for the component. |
void |
setActionData(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
This method is called on a component that is being used by the portlet at the begining of the action request it will be used in. |
void |
setRenderData(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
This method is called on a component that is being used by the portlet at the begining of the render request it will be used in. |
| Methods inherited from class edu.wisc.my.webproxy.beans.filtering.InclExclUrlFilter |
|---|
getListType, getUrlRegExList, rewriteUrl, setListType, setUrlRegExList |
| Methods inherited from class edu.wisc.my.webproxy.beans.filtering.BaseUrlFilter |
|---|
characters, endElement, makeCaseInsensitive, setElements, setPassThroughElements, startElement |
| Methods inherited from class edu.wisc.my.webproxy.beans.filtering.ChainingSaxFilter |
|---|
comment, endCDATA, endDTD, endEntity, getLexicalHandler, parse, parse, setLexicalHandler, setParent, startCDATA, startDTD, startEntity |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletUrlFilter()
public PortletUrlFilter(XMLReader parent)
| Method Detail |
|---|
protected String doUrlRewite(String orignialUrl,
int matchIndex,
boolean passThrough)
InclExclUrlFilter
doUrlRewite in class InclExclUrlFilterorignialUrl - The URL to re-write
public void setRenderData(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
ProxyComponent
setRenderData in interface ProxyComponentsetRenderData in class ChainingSaxFilterpublic void clearData()
ProxyComponent
clearData in interface ProxyComponentclearData in class BaseUrlFilterpublic String getName()
ProxyComponent
public void setActionData(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
ProxyComponent
setActionData in interface ProxyComponentsetActionData in class ChainingSaxFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||