Package org.apache.wicket.protocol.http.portlet

Examples of org.apache.wicket.protocol.http.portlet.FilterRequestContext


    boolean inPortletContext = false;
    if (filterPortletContext != null)
    {
      // collect the request and response together for convenience handling
      FilterRequestContext filterRequestContext = new FilterRequestContext(
        (HttpServletRequest)request, (HttpServletResponse)response);

      // sets up the FilterRequestContext for this request, such as wrapping the request and
      // response objects
      inPortletContext = filterPortletContext.setupFilter(getFilterConfig(),
        filterRequestContext, getFilterPath((HttpServletRequest)request));

      // Retrieve and assign the portlet wrapped request/response objects
      httpServletRequest = filterRequestContext.getRequest();
      httpServletResponse = filterRequestContext.getResponse();
    }
    else
    {
      // assign plane HTTP servlet request/response objects
      httpServletRequest = (HttpServletRequest)request;
View Full Code Here

TOP

Related Classes of org.apache.wicket.protocol.http.portlet.FilterRequestContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.