|
HDIV API 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IValidationHelper
Interface to validate a client request.
| Method Summary | |
|---|---|
void |
endPage()
It is called in the post-processing stage of each user request. |
RequestWrapper |
getRequestWrapper()
|
java.lang.String |
getTarget()
|
void |
init(javax.servlet.http.HttpServletRequest request)
Initialization of the objects needed for the validation process. |
void |
setHdivConfig(HDIVConfig hdivConfig)
|
void |
setRequestWrapper(RequestWrapper request)
|
void |
setTarget(java.lang.String target)
|
void |
setTargetWithoutContextPath(java.lang.String targetWithoutContextPath)
|
void |
startPage()
It is called in the pre-processing stage of each user request. |
boolean |
validate()
Checks if the values of the parameters received in the request request are valid. |
| Method Detail |
|---|
void init(javax.servlet.http.HttpServletRequest request)
request - HTTP servlet request
HDIVException - if there is an initialization error.boolean validate()
request are valid. These values are valid if and only if the
noneditable parameters havenīt been modified.
request
pass the the HDIV validation. False, otherwise.
HDIVException - If the request doesn't pass the HDIV validation an
exception is thrown explaining the cause of the error.RequestWrapper getRequestWrapper()
void setHdivConfig(HDIVConfig hdivConfig)
hdivConfig - The HDIV configuration object to set.java.lang.String getTarget()
void setTarget(java.lang.String target)
target - The target to set.void setRequestWrapper(RequestWrapper request)
request - The request to set. Only for testing.void setTargetWithoutContextPath(java.lang.String targetWithoutContextPath)
targetWithoutContextPath - The targetWithoutContextPath to set. Only for testing.void startPage()
void endPage()
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||