Package org.jboss.gm.common
Class Configuration.RestHeaderParser
- java.lang.Object
-
- org.jboss.gm.common.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>>
-
-
Constructor Summary
Constructors Constructor Description RestHeaderParser()
-
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.
-
-
-
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 interfaceorg.aeonbits.owner.Converter<java.util.Map<java.lang.String,java.lang.String>>
- Parameters:
method
- the method invoked on theConfig
objectinput
- 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
-
-