private static Map<String, String> extractHeaders(String value) {
        if (value == null) 
            return null;
        return Splitter.on("|").withKeyValueSeparator(":").split(value);
    }
private static Map < String , String > extractHeaders ( String value ) { if ( value == null ) return null ; return Splitter . on ( "|" ) . withKeyValueSeparator ( ":" ) . split ( value ) ; }
HeaderKey1:value1|HeaderKey2:value2...
@param value
@return