BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.net.http
Class KeepAliveStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--weblogic.net.http.KeepAliveStream

public class KeepAliveStream
extends java.io.FilterInputStream

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Field Summary
protected  boolean closed
           
protected  int count
           
protected  int expected
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
KeepAliveStream(java.io.InputStream is, HttpClient hc, int contentLen)
          Constructor
 
Method Summary
 int available()
           
 void close()
          Attempt to cache this connection
 void mark(int limit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

closed

protected boolean closed

expected

protected int expected

count

protected int count
Constructor Detail

KeepAliveStream

public KeepAliveStream(java.io.InputStream is,
                       HttpClient hc,
                       int contentLen)
Constructor
Method Detail

read

public int read()
         throws java.io.IOException

Overrides:
read in class java.io.FilterInputStream

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException

Overrides:
read in class java.io.FilterInputStream

skip

public long skip(long n)
          throws java.io.IOException

Overrides:
skip in class java.io.FilterInputStream

available

public int available()
              throws java.io.IOException

Overrides:
available in class java.io.FilterInputStream

close

public void close()
           throws java.io.IOException
Attempt to cache this connection

Overrides:
close in class java.io.FilterInputStream

markSupported

public boolean markSupported()

Overrides:
markSupported in class java.io.FilterInputStream

mark

public void mark(int limit)

Overrides:
mark in class java.io.FilterInputStream

reset

public void reset()
           throws java.io.IOException

Overrides:
reset in class java.io.FilterInputStream

Documentation is available at
http://www.weblogic.com/docs51