HttpServletRequest
object, and return IDs of any documents that final search results should be limited to.
@param request The HttpServletRequest
.
@return A collection of document IDs to limit final search results to, ornull
if an error occurs in processing. If an empty collection is returned, it's taken to mean that the conditions weren't met, and the rest of the search processing will cease.
ItsNat requests are processed by the registered {@link ItsNatServletRequestListener} objects.
@param request the standard servlet request. @param response the standard servlet response.If a new document was requested the {@link org.itsnat.core.ItsNatDocument} object is already created using the required template,this document may be obtained calling {@link org.itsnat.core.ItsNatServletRequest#getItsNatDocument()}or {@link org.itsnat.core.ItsNatServletResponse#getItsNatDocument()}. In this scenario there is no need to use the standard output stream ( ServletResponse.getWriter()
or ServletResponse.getOutputStream()
) because ItsNat already uses it behind the scenes. Usual page load request processing involves DOM tree manipulation or custom JavaScript is sent calling {@link org.itsnat.core.ItsNatDocument#addCodeToSend(Object)}or {@link org.itsnat.core.ClientDocument#addCodeToSend(Object)}.
If no new or existing document is requested the request processing is mostly the same as the typical Servlet.service(ServletRequest,ServletResponse)
processing including output to standard output stream. This scenario is an opportunity to change the normal ItsNat document request for instance to implement pretty URLs, because the request may be forwarded again to ItsNat calling {@link org.itsnat.core.ItsNatServlet#processRequest(ServletRequest,ServletResponse)}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|