public class AJP13OutputStream extends BufferedOutputStream
_httpMessageWriter, _out
_buf
Modifier and Type | Method and Description |
---|---|
protected void |
bypassWrite(byte[] b,
int offset,
int length) |
void |
close() |
void |
destroy() |
void |
end() |
void |
flush()
This implementation calls the commitObserver on the first flush since
construction or reset.
|
void |
resetStream() |
protected void |
wrapBuffer()
Wrap Buffer.
|
void |
write(AJP13Packet packet) |
void |
writeHeader(HttpMessage httpMessage) |
void |
writeTo(java.io.OutputStream out) |
getBypassBuffer, getCommitObserver, getOutputStream, isCommitted, setBypassBuffer, setCommitObserver, write, write
bufferSize, capacity, ensureCapacity, ensureReserve, ensureSize, ensureSize, ensureSpareCapacity, isFixed, postReserve, postwrite, postwrite, preReserve, prewrite, prewrite, prewrite, reset, setFixed, size, spareCapacity, write
public void writeHeader(HttpMessage httpMessage) throws java.io.IOException
writeHeader
in interface HttpMessage.HeaderWriter
writeHeader
in class BufferedOutputStream
java.io.IOException
public void write(AJP13Packet packet) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
BufferedOutputStream
flush
in interface java.io.Flushable
flush
in class BufferedOutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class BufferedOutputStream
java.io.IOException
public void resetStream()
resetStream
in class BufferedOutputStream
public void destroy()
destroy
in class BufferedOutputStream
public void end() throws java.io.IOException
java.io.IOException
protected void wrapBuffer() throws java.io.IOException
BufferedOutputStream
wrapBuffer
in class BufferedOutputStream
java.io.IOException
protected void bypassWrite(byte[] b, int offset, int length) throws java.io.IOException
bypassWrite
in class BufferedOutputStream
java.io.IOException
public void writeTo(java.io.OutputStream out) throws java.io.IOException
writeTo
in class ByteBufferOutputStream
java.io.IOException
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.