|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentUrlGenerationFilterFactory
This interface can be implemented by a filter factory to serve references to
a ContentUrlGenerationFilter
.
The order of the filter elements executed is determined by calling the
getFilterChainWeight()
method. The lower the weight the earlier
the filter will be inserted into the chain.
Each content URL generation filter factory is instantiated as a singleton, so
the implementor must make sure that the
getFilter(RenderRequest, RenderResponse)
method is thread-safe.
This interface is designed to be implemented by clients. |
Method Summary | |
---|---|
ContentUrlGenerationFilter |
getFilter(javax.portlet.RenderRequest portletRequest,
javax.portlet.RenderResponse portletResponse)
Get a reference to a content URL generation filter. |
int |
getFilterChainWeight()
This method is called when constructing the filter chain. |
Method Detail |
---|
ContentUrlGenerationFilter getFilter(javax.portlet.RenderRequest portletRequest, javax.portlet.RenderResponse portletResponse) throws ContentUrlFilterInstantiationException
portletRequest
- The render requestportletResponse
- The render response
null
return value removes the filter for this
request.
ContentUrlFilterInstantiationException
int getFilterChainWeight()
This method must return a positive integer. A value of zero disables the filter factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |