public class MapperUtils extends Object
IRequestMappers.| Modifier and Type | Method and Description |
|---|---|
static PageComponentInfo |
getPageComponentInfo(Url url)
Extracts the
PageComponentInfo from the URL. |
static PageComponentInfo |
parsePageComponentInfoParameter(Url.QueryParameter parameter)
Attempts to parse a
Url.QueryParameter which may hold PageComponentInfo. |
public static PageComponentInfo parsePageComponentInfoParameter(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 PageComponentInfo getPageComponentInfo(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–2021 Apache Software Foundation. All rights reserved.