private static String make(final CharSequence name,
        final CharSequence value, final CharSequence... attrs) {
        final StringBuilder text = new StringBuilder(
            String.format("%s=%s;", name, value)
        );
        for (final CharSequence attr : attrs) {
            text.append(attr).append(';');
        }
        return text.toString();
    }
private static String make ( final CharSequence name , final CharSequence value , final CharSequence ... attrs ) { final StringBuilder text = new StringBuilder ( String . format ( "%s=%s;" , name , value ) ) ; for ( final CharSequence attr : attrs ) { text . append ( attr ) . append ( ';' ) ; } return text . toString ( ) ; }
Build cookie string.
@param name Cookie name
@param value Value of it
@param attrs Optional attributes, for example "Path=/"
@return Text