Is the ItsNat wrapper of the
javax.servlet.Servlet
object. Bridges the normal servlet infrastructure with ItsNat.
To bridge a standard Servlet with ItsNat call ItsNat.get().createItsNatServlet(this)
into the overloaded Servlet.init(ServletConfig)
method. This call creates a new ItsNatServlet bound to the standard Servlet.
Use this init
method to setup the ItsNatServlet (using {@link ItsNatServletConfig}), to register page and fragment templates (calling {@link #registerItsNatDocumentTemplate(String,String,Object)} and{@link #registerItsNatDocFragmentTemplate(String,String,Object)}) and to register ItsNat request listeners ( {@link ItsNatServletRequestListener}).
To redirect normal requests to ItsNat call the method {@link #processRequest(javax.servlet.ServletRequest,javax.servlet.ServletResponse)}.
@author Jose Maria Arranz Santamaria
@see org.itsnat.core.http.HttpServletWrapper