org.apache.wicket.portlet
Class PortletRequestMapper

java.lang.Object
  extended by org.apache.wicket.request.mapper.AbstractMapper
      extended by org.apache.wicket.request.mapper.AbstractComponentMapper
          extended by org.apache.wicket.portlet.PortletRequestMapper
All Implemented Interfaces:
IRequestMapper

public class PortletRequestMapper
extends AbstractComponentMapper

This class is the default request mapper for portlets. It modifies the generated URLs (that are generated by the wrapped SystemMapper) depending on the type of the used request handler. Its purpose is to implement all portlet related functionality from WebRequestCodingStrategy, that was used in Wicket 1.4.

Author:
Peter Pastrnak

Constructor Summary
PortletRequestMapper(Application application)
           
 
Method Summary
 int getCompatibilityScore(Request request)
           
 Url mapHandler(IRequestHandler requestHandler)
           
 IRequestHandler mapRequest(Request request)
           
 
Methods inherited from class org.apache.wicket.request.mapper.AbstractComponentMapper
encodePageComponentInfo, getContext, getPageClass, getPageComponentInfo, removeMetaParameter, requestListenerInterfaceFromString, requestListenerInterfaceToString
 
Methods inherited from class org.apache.wicket.request.mapper.AbstractMapper
encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, urlStartsWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletRequestMapper

public PortletRequestMapper(Application application)
Method Detail

mapRequest

public IRequestHandler mapRequest(Request request)

getCompatibilityScore

public int getCompatibilityScore(Request request)

mapHandler

public Url mapHandler(IRequestHandler requestHandler)


Copyright © 2015. All Rights Reserved.