public class ParamSegment extends AbstractURLSegment
StringValue subtype that represents a mounted segment containing a parameter's value (for
example '/{id}/').REGEXP_BODY, REGEXP_DECLARATION, SEGMENT_PARAMETER| Modifier and Type | Method and Description |
|---|---|
int |
calculateScore(String actualSegment)
This method checks if a given string is compatible with the current segment.
|
String |
getParamName() |
protected org.apache.wicket.util.parse.metapattern.MetaPattern |
loadMetaPattern()
Method invoked to load the MetaPattern for the current segment.
|
void |
populatePathVariables(Map<String,String> variables,
String segment)
With this method every segment contributes to extract path parameters from the current
request URL.
|
getActualSegment, getMetaPattern, getSegmentMatrixParameters, newSegmentafterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toEnum, toEnum, toEnum, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptional, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalEnum, toOptionalInteger, toOptionalLong, toOptionalString, toOptionalTime, toString, toString, toTime, toTime, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOfpublic int calculateScore(String actualSegment)
AbstractURLSegmentcalculateScore in class AbstractURLSegmentprotected org.apache.wicket.util.parse.metapattern.MetaPattern loadMetaPattern()
AbstractURLSegmentloadMetaPattern in class AbstractURLSegmentpublic void populatePathVariables(Map<String,String> variables, String segment)
AbstractURLSegmentpopulatePathVariables in class AbstractURLSegmentvariables - the Map object containing the extracted parameters.segment - the value of the current segment.public String getParamName()
Copyright © 2015. All rights reserved.