1
2
3
4
5
6
7 package org.mule;
8
9 import java.io.BufferedOutputStream;
10 import java.io.IOException;
11 import java.io.OutputStream;
12 import java.net.Socket;
13
14
15
16
17
18
19
20
21 public class ResponseOutputStream extends BufferedOutputStream
22 {
23
24 private Socket socket = null;
25
26 public ResponseOutputStream(OutputStream stream)
27 {
28 super(stream);
29 }
30
31 public ResponseOutputStream(Socket socket, OutputStream stream) throws IOException
32 {
33 super(stream);
34 this.socket = socket;
35 }
36
37 public Socket getSocket()
38 {
39 return socket;
40 }
41
42 }