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:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NormalizeRootHttpPathConverter
public NormalizeRootHttpPathConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.eclipse.microprofile.config.spi.Converter<String>
- Throws:
IllegalArgumentException
NullPointerException
-