public interface RootMountedUrlCodingStrategy
extends org.apache.wicket.request.target.coding.IRequestTargetUrlCodingStrategy
Every implementation of RootMountedUrlCodingStrategy MUST remove the mount path from the URL upon an encode.
boolean accepts(String rawPath)
Note: for each request that is not handled by the regular wicket mounts, this method is called twice. Result caching is left to the implementation.
Note 2: there is no guarantee that this method is only invoked twice per request, there might be more.
Note 3: during the first invocation in a request,
Application.get(),
Session.get() and
RequestCycle.get() return null.
rawPath - the complete raw path (could be null or empty)
(See also RawPathUtil.)Copyright © 2013. All Rights Reserved.