org.apache.wicket.protocol.http.portlet
Class WicketFilterPortletContext

java.lang.Object
  extended by org.apache.wicket.protocol.http.portlet.WicketFilterPortletContext

public class WicketFilterPortletContext
extends java.lang.Object

Author:
Ate Douma

Constructor Summary
WicketFilterPortletContext()
           
 
Method Summary
 boolean createPortletRequestContext(WebRequest request, WebResponse response)
           
 java.lang.String decodePortletWindowId(java.lang.String pathInfo)
           
 java.lang.String encodeWindowIdInPath(java.lang.String windowId, java.lang.CharSequence path)
           
 java.lang.String getServletResourceUrlPortletWindowIdPrefix()
           
 void initFilter(javax.servlet.FilterConfig filterConfig, WebApplication webApplication)
           
protected  void newPortletRequestContext(ServletWebRequest request, WebResponse response)
           
 boolean setupFilter(javax.servlet.FilterConfig config, FilterRequestContext filterRequestContext, java.lang.String filterPath)
           
 java.lang.String stripWindowIdFromPathInfo(java.lang.String pathInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WicketFilterPortletContext

public WicketFilterPortletContext()
Method Detail

initFilter

public void initFilter(javax.servlet.FilterConfig filterConfig,
                       WebApplication webApplication)
                throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

setupFilter

public boolean setupFilter(javax.servlet.FilterConfig config,
                           FilterRequestContext filterRequestContext,
                           java.lang.String filterPath)
                    throws java.io.IOException,
                           javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

createPortletRequestContext

public boolean createPortletRequestContext(WebRequest request,
                                           WebResponse response)

getServletResourceUrlPortletWindowIdPrefix

public java.lang.String getServletResourceUrlPortletWindowIdPrefix()

decodePortletWindowId

public java.lang.String decodePortletWindowId(java.lang.String pathInfo)

stripWindowIdFromPathInfo

public java.lang.String stripWindowIdFromPathInfo(java.lang.String pathInfo)

encodeWindowIdInPath

public java.lang.String encodeWindowIdInPath(java.lang.String windowId,
                                             java.lang.CharSequence path)

newPortletRequestContext

protected void newPortletRequestContext(ServletWebRequest request,
                                        WebResponse response)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.