org.apache.wicket.request.mapper
Interface ICompoundRequestMapper

All Superinterfaces:
IRequestMapper, Iterable<IRequestMapper>
All Known Implementing Classes:
CompoundRequestMapper

public interface ICompoundRequestMapper
extends IRequestMapper, 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(String path)
          Deprecated. since 6.18.0. To be removed in Wicket 7.0.0. See WebApplication.unmount().
 
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

@Deprecated
void unmount(String path)
Deprecated. since 6.18.0. To be removed in Wicket 7.0.0. See WebApplication.unmount().

Unregisters all IRequestMappers which would match on a this path

Parameters:
path - the path to unmount


Copyright © 2006–2016 Apache Software Foundation. All rights reserved.