// javax.portlet.PortletRequestDispatcher implementation --------------------------------------
public void include(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException
{
InternalPortletRequest internalRequest = CoreUtils.getInternalRequest(request);
InternalPortletResponse internalResponse = CoreUtils.getInternalResponse(response);
if(queryParams!=null) {
internalRequest = new IncludedRenderRequestImpl(internalRequest, queryParams);
}
try
{
internalRequest.setIncluded(true);
internalResponse.setIncluded(true);
this.requestDispatcher.include((javax.servlet.http.HttpServletRequest)request,
(javax.servlet.http.HttpServletResponse)response);
}
catch (java.io.IOException e)
{
throw e;
}
catch (javax.servlet.ServletException e)
{
if (e.getRootCause()!=null)
{
throw new PortletException(e.getRootCause());
}
else
{
throw new PortletException(e);
}
}
finally
{
internalRequest.setIncluded(false);
internalResponse.setIncluded(false);
}
}