Package io.dropwizard.validation
Class InterpolationHelper
- java.lang.Object
-
- io.dropwizard.validation.InterpolationHelper
-
public final class InterpolationHelper extends Object
Utilities used for message interpolation.- Since:
- 2.0.3
- Author:
- Guillaume Smet
-
-
Field Summary
Fields Modifier and Type Field Description static char
BEGIN_TERM
A constant representing the '{' character.static char
EL_DESIGNATOR
A constant representing the '$' character.static char
END_TERM
A constant representing the '}' character.static char
ESCAPE_CHARACTER
A constant representing the '\' character.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable String
escapeMessageParameter(@Nullable String messageParameter)
Escapes a string with theESCAPE_MESSAGE_PARAMETER_PATTERN
.
-
-
-
Field Detail
-
BEGIN_TERM
public static final char BEGIN_TERM
A constant representing the '{' character.- See Also:
- Constant Field Values
-
END_TERM
public static final char END_TERM
A constant representing the '}' character.- See Also:
- Constant Field Values
-
EL_DESIGNATOR
public static final char EL_DESIGNATOR
A constant representing the '$' character.- See Also:
- Constant Field Values
-
ESCAPE_CHARACTER
public static final char ESCAPE_CHARACTER
A constant representing the '\' character.- See Also:
- Constant Field Values
-
-