org.springframework.extensions.surf.site
Class RequestUtil

java.lang.Object
  extended by org.springframework.extensions.surf.site.RequestUtil

public class RequestUtil
extends Object

Utility class for constructing and binding RequestContext objects.

Author:
muzquiano, kevinr

Constructor Summary
RequestUtil()
           
 
Method Summary
static void forward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String dispatchPath)
          Performs a servlet forward.
static void forward(javax.servlet.ServletContext context, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String dispatchPath)
          Performs a servlet forward.
static void include(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String dispatchPath)
          Performs a servlet include.
static void include(javax.servlet.ServletContext context, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String dispatchPath)
          Performs a servlet include.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestUtil

public RequestUtil()
Method Detail

include

public static void include(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           String dispatchPath)
                    throws javax.servlet.ServletException,
                           IOException
Performs a servlet include. This is the principal means for handling any kind of JSP include that occurs within the framework. With this method, all dispatch path referencing is relative to the request.

Parameters:
request -
response -
dispatchPath -
Throws:
javax.servlet.ServletException
IOException

include

public static void include(javax.servlet.ServletContext context,
                           javax.servlet.ServletRequest request,
                           javax.servlet.ServletResponse response,
                           String dispatchPath)
                    throws javax.servlet.ServletException,
                           IOException
Performs a servlet include. This is the principal means for handling any kind of JSP include that occurs within the framework. With this method, all dispatch path referencing is relative to the servlet context.

Parameters:
request -
response -
dispatchPath -
Throws:
javax.servlet.ServletException
IOException

forward

public static void forward(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           String dispatchPath)
                    throws javax.servlet.ServletException
Performs a servlet forward. This is the principal means for handling any kind of JSP include that occurs within the framework. With this method, all dispatch path referencing is relative to the request.

Parameters:
request -
response -
dispatchPath -
Throws:
javax.servlet.ServletException

forward

public static void forward(javax.servlet.ServletContext context,
                           javax.servlet.ServletRequest request,
                           javax.servlet.ServletResponse response,
                           String dispatchPath)
                    throws javax.servlet.ServletException
Performs a servlet forward. This is the principal means for handling any kind of JSP include that occurs within the framework. With this method, all dispatch path referencing is relative to the servlet context.

Parameters:
request -
response -
dispatchPath -
Throws:
javax.servlet.ServletException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.