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(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 IOException
writeHeader
in interface HttpMessage.HeaderWriter
writeHeader
in class BufferedOutputStream
IOException
public void write(AJP13Packet packet) throws IOException
IOException
public void flush() throws IOException
BufferedOutputStream
flush
in interface Flushable
flush
in class BufferedOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class BufferedOutputStream
IOException
public void resetStream()
resetStream
in class BufferedOutputStream
public void destroy()
destroy
in class BufferedOutputStream
public void end() throws IOException
IOException
protected void wrapBuffer() throws IOException
BufferedOutputStream
wrapBuffer
in class BufferedOutputStream
IOException
protected void bypassWrite(byte[] b, int offset, int length) throws IOException
bypassWrite
in class BufferedOutputStream
IOException
public void writeTo(OutputStream out) throws IOException
writeTo
in class ByteBufferOutputStream
IOException
Copyright © 2013. All Rights Reserved.