org.mortbay.http.ajp

Class AJP13InputStream


public class AJP13InputStream
extends InputStream

Method Summary

int
available()
void
close()
void
destroy()
void
mark(int readLimit)
boolean
markSupported()
AJP13RequestPacket
nextPacket()
int
read()
int
read(byte[] b, int off, int len)
void
reset()
void
resetStream()
long
skip(long n)

Method Details

available

public int available()
            throws IOException

close

public void close()
            throws IOException

destroy

public void destroy()

mark

public void mark(int readLimit)

markSupported

public boolean markSupported()

nextPacket

public AJP13RequestPacket nextPacket()
            throws IOException
Returns:
The next packet from the stream. The packet is recycled and is only valid until the next call to nextPacket or read().

read

public int read()
            throws IOException

read

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

reset

public void reset()
            throws IOException

resetStream

public void resetStream()

skip

public long skip(long n)
            throws IOException

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