Package io.quarkus.undertow.deployment
Class ServletConfig.ContextPathConverter
java.lang.Object
io.quarkus.undertow.deployment.ServletConfig.ContextPathConverter
- All Implemented Interfaces:
Serializable,org.eclipse.microprofile.config.spi.Converter<String>
- Enclosing class:
- ServletConfig
@Priority(200)
public static class ServletConfig.ContextPathConverter
extends Object
implements org.eclipse.microprofile.config.spi.Converter<String>
This converter adds a '/' at the beginning of the context path but does not add one at the end, given we want to support
binding to a context without an ending '/'.
See ContextPathTestCase for an example.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContextPathConverter
public ContextPathConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.eclipse.microprofile.config.spi.Converter<String>- Throws:
IllegalArgumentExceptionNullPointerException
-