|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Rule
Method Summary | |
---|---|
void |
destroy()
|
java.lang.String |
getDisplayName()
|
java.util.List |
getErrors()
List of strings for all errors. |
int |
getId()
|
java.lang.String |
getName()
|
boolean |
initialise(javax.servlet.ServletContext context)
Will initialise the rule. |
boolean |
isFilter()
|
boolean |
isLast()
|
boolean |
isValid()
|
RewrittenUrl |
matches(java.lang.String url,
javax.servlet.http.HttpServletRequest hsRequest,
javax.servlet.http.HttpServletResponse hsResponse)
|
RewrittenUrl |
matches(java.lang.String url,
javax.servlet.http.HttpServletRequest hsRequest,
javax.servlet.http.HttpServletResponse hsResponse,
RuleChain chain)
Will run the rule against the uri and perform action required will return false is not matched otherwise true. |
void |
setId(int i)
|
Method Detail |
---|
RewrittenUrl matches(java.lang.String url, javax.servlet.http.HttpServletRequest hsRequest, javax.servlet.http.HttpServletResponse hsResponse, RuleChain chain) throws java.io.IOException, javax.servlet.ServletException, java.lang.reflect.InvocationTargetException
url
- hsRequest
-
java.io.IOException
javax.servlet.ServletException
java.lang.reflect.InvocationTargetException
RewrittenUrl matches(java.lang.String url, javax.servlet.http.HttpServletRequest hsRequest, javax.servlet.http.HttpServletResponse hsResponse) throws java.io.IOException, javax.servlet.ServletException, java.lang.reflect.InvocationTargetException
java.io.IOException
javax.servlet.ServletException
java.lang.reflect.InvocationTargetException
boolean initialise(javax.servlet.ServletContext context)
void destroy()
java.lang.String getName()
java.lang.String getDisplayName()
boolean isLast()
void setId(int i)
int getId()
boolean isValid()
boolean isFilter()
java.util.List getErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |