Class Configuration.RestHeaderParser

  • All Implemented Interfaces:
    org.aeonbits.owner.Converter<java.util.Map<java.lang.String,​java.lang.String>>
    Enclosing interface:
    Configuration

    public static class Configuration.RestHeaderParser
    extends java.lang.Object
    implements org.aeonbits.owner.Converter<java.util.Map<java.lang.String,​java.lang.String>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> convert​(java.lang.reflect.Method method, java.lang.String input)
      Converts the given input into an Object of type T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestHeaderParser

        public RestHeaderParser()
    • Method Detail

      • convert

        public java.util.Map<java.lang.String,​java.lang.String> convert​(java.lang.reflect.Method method,
                                                                              java.lang.String input)
        Converts the given input into an Object of type T. If the method returns null, null will be returned by the Config object. The converter is instantiated for every call, so it shouldn't have any internal state.
        Specified by:
        convert in interface org.aeonbits.owner.Converter<java.util.Map<java.lang.String,​java.lang.String>>
        Parameters:
        method - the method invoked on the Config object
        input - the property value specified as input text to be converted to the T return type
        Returns:
        the object of type T converted from the input string.
        Since:
        1.0.4