|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.util.string.StringValue
org.wicketstuff.rest.resource.urlsegments.AbstractURLSegment
org.wicketstuff.rest.resource.urlsegments.FixedURLSegment
public class FixedURLSegment
Segment class for segments without path parameter (i.e. with a fixed value).
Field Summary |
---|
Fields inherited from class org.wicketstuff.rest.resource.urlsegments.AbstractURLSegment |
---|
REGEXP_BODY, REGEXP_DECLARATION, SEGMENT_PARAMETER |
Method Summary | |
---|---|
int |
calculateScore(String segment)
This method checks if a given string is compatible with the current segment. |
protected 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. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected MetaPattern loadMetaPattern()
AbstractURLSegment
loadMetaPattern
in class AbstractURLSegment
public int calculateScore(String segment)
AbstractURLSegment
calculateScore
in class AbstractURLSegment
public void populatePathVariables(Map<String,String> variables, String segment)
AbstractURLSegment
populatePathVariables
in class AbstractURLSegment
variables
- the Map object containing the extracted parameters.segment
- the value of the current segment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |