Oracle Application Server HTTPClient API Reference
10g Release 2 (10.1.2)

B14020-02


HTTPClient
Interface IPushBackInputStream


public interface IPushBackInputStream

Simple interface used to designate push-back functionality in HTTPClient input streams Since custom streams are used here, decoration is not an option in the short term.


Method Summary
 void unread(byte[] b, int off, int len)
          Pushes back the specified bytes to the implementing stream.

 

Method Detail

unread

public void unread(byte[] b,
                   int off,
                   int len)
            throws java.io.IOException
Pushes back the specified bytes to the implementing stream. This method should mimic the behavior of PushBackInputStream
Parameters:
b - The byte array to be read from
off - The offset to start copying from in b
len - The number of bytes to copy back to the stream
Throws:
java.io.IOException

Oracle Application Server HTTPClient API Reference
10g Release 2 (10.1.2)

B14020-02


Copyright © 2004, 2005, Oracle. All rights reserved.