|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.openqa.jetty.http.nio.ByteBufferInputStream
public class ByteBufferInputStream
Constructor Summary | |
---|---|
ByteBufferInputStream(int bufferSize)
Constructor. |
Method Summary | |
---|---|
int |
available()
|
void |
close()
|
void |
destroy()
|
ByteBuffer |
getBuffer()
Get a buffer to write to this InputStream. |
long |
getTimeout()
getSoTimeout. |
void |
mark(int arg0)
|
boolean |
markSupported()
|
int |
read()
|
int |
read(byte[] buf)
|
int |
read(byte[] buf,
int offset,
int length)
|
void |
recycle(ByteBuffer buf)
|
void |
reset()
|
void |
setTimeout(long l)
setSoTimeout. |
long |
skip(long length)
|
void |
write(ByteBuffer buffer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteBufferInputStream(int bufferSize)
Method Detail |
---|
public long getTimeout()
public void setTimeout(long l)
l
- public int read() throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class InputStream
IOException
public void mark(int arg0)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public int read(byte[] buf, int offset, int length) throws IOException
read
in class InputStream
IOException
public int read(byte[] buf) throws IOException
read
in class InputStream
IOException
public void reset() throws IOException
reset
in class InputStream
IOException
public long skip(long length) throws IOException
skip
in class InputStream
IOException
InputStream.skip(long)
public void write(ByteBuffer buffer)
public ByteBuffer getBuffer()
public void recycle(ByteBuffer buf)
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |