Class ServletOutputStreamImpl
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
org.apache.xmlrpc.webserver.ServletOutputStreamImpl
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
class ServletOutputStreamImpl
extends javax.servlet.ServletOutputStream
Default implementation of a servlet output stream.
Handles output of HTTP headers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private intprivate booleanprivate booleanprivate final HttpServletResponseImplprivate final OutputStream -
Constructor Summary
ConstructorsConstructorDescriptionServletOutputStreamImpl(OutputStream pTarget, HttpServletResponseImpl pResponse) -
Method Summary
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnMethods inherited from class OutputStream
write
-
Field Details
-
target
-
res
-
buffer
private final byte[] buffer -
bufferOffset
private int bufferOffset -
closed
private boolean closed -
committed
private boolean committed
-
-
Constructor Details
-
ServletOutputStreamImpl
ServletOutputStreamImpl(OutputStream pTarget, HttpServletResponseImpl pResponse)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
reset
void reset() -
isCommitted
boolean isCommitted() -
isReady
public boolean isReady()- Specified by:
isReadyin classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener arg0) - Specified by:
setWriteListenerin classjavax.servlet.ServletOutputStream
-