org.mule.impl
Class ResponseOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
org.mule.impl.ResponseOutputStream
- public class ResponseOutputStream
- extends java.io.BufferedOutputStream
ResponseOutputStream
is an output stream associated with
the currently recieved event.
Note that if the stream is from a socket the socket is also available
on this stream so that the socket state can be validated before writing.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
Fields inherited from class java.io.BufferedOutputStream |
buf, count |
Fields inherited from class java.io.FilterOutputStream |
out |
Methods inherited from class java.io.BufferedOutputStream |
flush, write |
Methods inherited from class java.io.FilterOutputStream |
close, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseOutputStream
public ResponseOutputStream()
ResponseOutputStream
public ResponseOutputStream(java.io.OutputStream stream)
ResponseOutputStream
public ResponseOutputStream(java.io.OutputStream stream,
java.net.Socket socket)
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
getBytes
public byte[] getBytes()
throws java.io.IOException
- Throws:
java.io.IOException
isUsed
public boolean isUsed()
getSocket
public java.net.Socket getSocket()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.