Class MultiParamSegment
- java.lang.Object
-
- org.apache.wicket.util.string.StringValue
-
- org.wicketstuff.rest.resource.urlsegments.AbstractURLSegment
-
- org.wicketstuff.rest.resource.urlsegments.MultiParamSegment
-
- All Implemented Interfaces:
Serializable
,IClusterable
,ISegementElement
public class MultiParamSegment extends AbstractURLSegment
This kind of segment can contain more than one path parameter, for example "/message-{day}-{month}-{year}/".- Author:
- andrea del bene
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.wicketstuff.rest.resource.urlsegments.AbstractURLSegment
REGEXP_BODY, REGEXP_DECLARATION, SEGMENT_PARAMETER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ISegmentVisitor visitor)
MetaPattern
getMetaPatternWithGroups()
Returns segment meta pattern with regexp group to support named-capturing.List<AbstractURLSegment>
getSubSegments()
protected MetaPattern
loadMetaPattern()
Method invoked to load the MetaPattern for the current segment.-
Methods inherited from class org.wicketstuff.rest.resource.urlsegments.AbstractURLSegment
getActualSegment, getMetaPattern, getSegmentMatrixParameters, newSegment
-
Methods inherited from class org.apache.wicket.util.string.StringValue
afterFirst, 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, valueOf
-
-
-
-
Method Detail
-
loadMetaPattern
protected MetaPattern loadMetaPattern()
Description copied from class:AbstractURLSegment
Method invoked to load the MetaPattern for the current segment.- Specified by:
loadMetaPattern
in classAbstractURLSegment
- Returns:
- the MetaPattern for the current segment.
-
getMetaPatternWithGroups
public MetaPattern getMetaPatternWithGroups()
Returns segment meta pattern with regexp group to support named-capturing.- Returns:
- the meta pattern.
-
getSubSegments
public List<AbstractURLSegment> getSubSegments()
-
accept
public void accept(ISegmentVisitor visitor)
-
-