org.mortbay.http

Class ChunkingInputStream


public class ChunkingInputStream
extends InputStream

Dechunk input. Or limit content length.

Constructor Summary

ChunkingInputStream(LineInput in)
Constructor.

Method Summary

int
available()
void
close()
void
mark(int readlimit)
Not Implemented.
boolean
markSupported()
Mark is not supported.
int
read()
int
read(b[] )
int
read(b[] , int off, int len)
void
reset()
Not Implemented.
void
resetStream()
long
skip(long len)

Constructor Details

ChunkingInputStream

public ChunkingInputStream(LineInput in)
Constructor.

Method Details

available

public int available()
            throws IOException

close

public void close()
            throws IOException

mark

public void mark(int readlimit)
Not Implemented.
Parameters:
readlimit -

markSupported

public boolean markSupported()
Mark is not supported.
Returns:
false

read

public int read()
            throws IOException

read

public int read(b[] )
            throws IOException

read

public int read(b[] ,
                int off,
                int len)
            throws IOException

reset

public void reset()
Not Implemented.

resetStream

public void resetStream()

skip

public long skip(long len)
            throws IOException

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.