org.apache.wicket.request.mapper
Interface ICompoundRequestMapper

All Superinterfaces:
IRequestMapper, java.lang.Iterable<IRequestMapper>
All Known Implementing Classes:
CompoundRequestMapper, SystemMapper

public interface ICompoundRequestMapper
extends IRequestMapper, java.lang.Iterable<IRequestMapper>

Mapper that delegates the mapping to a contained IRequestMappers with the highest compatibility score.

Author:
igor.vaynberg

Method Summary
 ICompoundRequestMapper add(IRequestMapper mapper)
          Registers a IRequestMapper
 ICompoundRequestMapper remove(IRequestMapper mapper)
          Unregisters a IRequestMapper
 void unmount(java.lang.String path)
          Unregisters all IRequestMappers which would match on a this path
 
Methods inherited from interface org.apache.wicket.request.IRequestMapper
getCompatibilityScore, mapHandler, mapRequest
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

add

ICompoundRequestMapper add(IRequestMapper mapper)
Registers a IRequestMapper

Parameters:
mapper -
Returns:
this for chaining

remove

ICompoundRequestMapper remove(IRequestMapper mapper)
Unregisters a IRequestMapper

Parameters:
mapper -
Returns:
this for chaining

unmount

void unmount(java.lang.String path)
Unregisters all IRequestMappers which would match on a this path

Parameters:
path - the path to unmount


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.