Class 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:
    Serialized Form