Class URIPropertyConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<java.lang.String,​java.net.URI>

    @ConfigurationPropertiesBinding
    public class URIPropertyConverter
    extends java.lang.Object
    implements org.springframework.core.convert.converter.Converter<java.lang.String,​java.net.URI>
    A converter between a String and a URI to enforce well formatted schema representations of resources.
    Since:
    4.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI convert​(java.lang.String source)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.core.convert.converter.Converter

        andThen
    • Constructor Detail

      • URIPropertyConverter

        public URIPropertyConverter()
    • Method Detail

      • convert

        public java.net.URI convert​(java.lang.String source)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<java.lang.String,​java.net.URI>