Package io.quarkus.runtime.configuration
Class NormalizeRootHttpPathConverter
- java.lang.Object
-
- io.quarkus.runtime.configuration.NormalizeRootHttpPathConverter
-
- All Implemented Interfaces:
Serializable
,org.eclipse.microprofile.config.spi.Converter<String>
@Priority(200) public class NormalizeRootHttpPathConverter extends Object implements org.eclipse.microprofile.config.spi.Converter<String>
A converter to normalize paths that are considered root of something.Any path coming out of this converter will have a leading and ending '/'.
Do NOT use this converter for paths that could be relative.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NormalizeRootHttpPathConverter()
-
-
-
Method Detail
-
convert
public String convert(String value) throws IllegalArgumentException, NullPointerException
- Specified by:
convert
in interfaceorg.eclipse.microprofile.config.spi.Converter<String>
- Throws:
IllegalArgumentException
NullPointerException
-
-