public class PathCombiningMethodExecutor
extends java.lang.Object
implements org.springframework.expression.MethodExecutor
MethodExecutor
making it easier to combine
paths instead of concatenating in spel itself.Constructor and Description |
---|
PathCombiningMethodExecutor()
Instantiates a new path combine method executor with
default delimiter '/'.
|
PathCombiningMethodExecutor(java.lang.String delimiter)
Instantiates a new path combine method executor.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.expression.TypedValue |
execute(org.springframework.expression.EvaluationContext context,
java.lang.Object target,
java.lang.Object... arguments) |
public PathCombiningMethodExecutor()
public PathCombiningMethodExecutor(java.lang.String delimiter)
delimiter
- the delimiter for pathspublic org.springframework.expression.TypedValue execute(org.springframework.expression.EvaluationContext context, java.lang.Object target, java.lang.Object... arguments) throws org.springframework.expression.AccessException
execute
in interface org.springframework.expression.MethodExecutor
org.springframework.expression.AccessException