|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.url.processing.UrlRequestParameterProcessor
public class UrlRequestParameterProcessor
This implementation of IRequestParameterProcessor sets the value
of specified structure and theme parameters by evaluating RegEx patterns
against the request URL. Use capturing groups to specify the information you
want; the first capturing group of each expression specifies the value of
the parameter.
| Constructor Summary | |
|---|---|
UrlRequestParameterProcessor()
|
|
| Method Summary | |
|---|---|
boolean |
processParameters(IWritableHttpServletRequest req,
HttpServletResponse res)
Analyze current request, process necessary URL parameters, delivering information to the appropriate components. |
void |
setStructureParameters(Map<String,String> params)
Called by Spring to set the structure parameters that will be processed by this instance. |
void |
setThemeParameters(Map<String,String> params)
Called by Spring to set the theme parameters that will be processed by this instance. |
void |
setUserInstanceManager(IUserInstanceManager uim)
Called by Spring to inject the IUserInstanceManager dependency. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlRequestParameterProcessor()
| Method Detail |
|---|
public void setUserInstanceManager(IUserInstanceManager uim)
IUserInstanceManager dependency.
uim - The IUserInstanceManager from which user
preferences are accessedpublic void setStructureParameters(Map<String,String> params)
params - A collection of name/regex pairs that define structure
parameters processed by this instancepublic void setThemeParameters(Map<String,String> params)
params - A collection of name/regex pairs that define theme
parameters processed by this instance
public boolean processParameters(IWritableHttpServletRequest req,
HttpServletResponse res)
IRequestParameterProcessorfalse so that it can be called again after other
processors have been allowed to execute. Even if false is returned as much processing as possible
should happen for each pass.
processParameters in interface IRequestParameterProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||