Skip navigation links

Oracle Application Server HTTPClient Java API Reference
10g Release 3 (10.1.3.1.0)

B32117-01


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

Skip navigation links

Oracle Application Server HTTPClient Java API Reference
10g Release 3 (10.1.3.1.0)

B32117-01


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