private static String toStringValue ( Object headerValue ) { return headerValue instanceof Enum < ? > ? FieldInfo . of ( ( Enum < ? > ) headerValue ) . getName ( ) : headerValue . toString ( ) ; }
Returns the string header value for the given header value as an object .