public class MapperUtils extends Object
IRequestMapper
s.Modifier and Type | Method and Description |
---|---|
static org.apache.wicket.request.mapper.info.PageComponentInfo |
getPageComponentInfo(org.apache.wicket.request.Url url)
Extracts the
PageComponentInfo from the URL. |
static org.apache.wicket.request.mapper.info.PageComponentInfo |
parsePageComponentInfoParameter(org.apache.wicket.request.Url.QueryParameter parameter)
Attempts to parse a
Url.QueryParameter which may hold PageComponentInfo . |
public static org.apache.wicket.request.mapper.info.PageComponentInfo parsePageComponentInfoParameter(org.apache.wicket.request.Url.QueryParameter parameter)
Url.QueryParameter
which may hold PageComponentInfo
.parameter
- The Url.QueryParameter
to parse.PageComponentInfo
, or null
if the parameter could not be parsed.public static org.apache.wicket.request.mapper.info.PageComponentInfo getPageComponentInfo(org.apache.wicket.request.Url url)
PageComponentInfo
from the URL. The PageComponentInfo
is encoded
as the very first query parameter and the parameter consists of name only (no value).url
- null
otherwise.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.