org.apache.xmlrpc

Class ServerInputStream


(package private) class ServerInputStream
extends InputStream

Version:
$Id: ServerInputStream.java 233919 2005-04-22 10:26:17Z hgomez $
Author:
Hannes Wallnoefer

Field Summary

private long
available
private BufferedInputStream
in
private long
markedAvailable

Constructor Summary

ServerInputStream(BufferedInputStream in, int available)

Method Summary

void
mark(int readlimit)
boolean
markSupported()
int
read()
int
read(b[] )
int
read(b[] , int off, int len)
void
reset()
long
skip(long n)

Field Details

available

private long available

in

private BufferedInputStream in

markedAvailable

private long markedAvailable

Constructor Details

ServerInputStream

public ServerInputStream(BufferedInputStream in,
                         int available)
Parameters:
in -
available -

Method Details

mark

public void mark(int readlimit)
Parameters:
readlimit -

markSupported

public boolean markSupported()
Returns:

read

public int read()
            throws IOException
Returns:

read

public int read(b[] )
            throws IOException
Parameters:
Returns:

read

public int read(b[] ,
                int off,
                int len)
            throws IOException
Parameters:
off -
len -
Returns:

reset

public void reset()
            throws IOException

skip

public long skip(long n)
            throws IOException
Parameters:
n -
Returns:

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.