|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Public interface for user to redefine validation results handling. Default implementation is provided by jtidyservlet. You define class to be used by servlet using JTidyServlet.properties file.
DefaultRepositoryFactory
,
SessionRepositoryFactory
Method Summary | |
ResponseRecord |
createRecord(java.lang.Object key,
javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create new validation results Response Record. |
ResponseRecordRepository |
getRepositoryInstance(javax.servlet.http.HttpSession httpSession)
Get the Repository where to store validation results. |
java.lang.Object |
getResponseID(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean newResponse)
Get the ResponseID for given request. |
Method Detail |
public ResponseRecordRepository getRepositoryInstance(javax.servlet.http.HttpSession httpSession)
httpSession
- Session to bound to.
public java.lang.Object getResponseID(javax.servlet.http.HttpSession httpSession, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean newResponse)
httpSession
- HttpSession that could store ID as attributerequest
- HttpServletRequest that could store ID as attribute, could be nullresponse
- HttpServletResponse that could store ID as attribute, could be nullnewResponse
- Create new ResponseID anyway
public ResponseRecord createRecord(java.lang.Object key, javax.servlet.http.HttpSession httpSession, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- HttpServletRequestresponse
- HttpServletResponse
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |