public abstract class PathMarshaller
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PathMarshaller |
GREEDY
Marshaller for greedy path labels.
|
static PathMarshaller |
GREEDY_WITH_SLASHES
Marshaller for greedy path labels that allows leading slahes.
|
static PathMarshaller |
NON_GREEDY
Marshaller for non greedy path labels.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
marshall(java.lang.String resourcePath,
java.lang.String paramName,
java.lang.String pathValue) |
public static final PathMarshaller NON_GREEDY
public static final PathMarshaller GREEDY
public static final PathMarshaller GREEDY_WITH_SLASHES
public abstract java.lang.String marshall(java.lang.String resourcePath, java.lang.String paramName, java.lang.String pathValue)
resourcePath
- Current resource path with path param placeholderparamName
- Name of parameter (i.e. placeholder value {Foo})pathValue
- String value of path parameter.Copyright © 2021. All Rights Reserved.