core/src/main/java/org/owasp/encoder/Encode.java
@Deprecated public static void forUri(Writer out, String input)
        throws IOException
    {
        encode(Encoders.URI_ENCODER, out, input);
    }
@Deprecated public static void forUri(Writer out, String input)
        throws IOException
    {
        encode(Encoders.URI_ENCODER, out, input);
    }
@ Deprecated public static void forUri ( Writer out , String input ) throws IOException { encode ( Encoders . URI_ENCODER , out , input ) ; }
See {@link #forUri(String)} for description of encoding.  This
version writes directly to a Writer without an intervening string.

@param out where to write encoded output
@param input the input string to encode
@throws IOException if thrown by writer

@deprecated  There is never a need to encode a complete URI with this form of encoding.
See { @link #forUri ( String ) } for description of encoding . This version writes directly to a Writer without an intervening string .