KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > weblogic > servlet > internal > ServletOutputStreamImpl


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package weblogic.servlet.internal;
17
18 import java.io.ByteArrayOutputStream JavaDoc;
19 import java.io.IOException JavaDoc;
20 import javax.servlet.ServletOutputStream JavaDoc;
21
22 /**
23  * **********************************************************************
24  * * W A R N I N G *
25  * **********************************************************************
26  *
27  * This is a mock object of the class, not the actual class.
28  * It's used to compile the code in absence of the actual class.
29  *
30  * This class is created by hand, not automatically.
31  *
32  * **********************************************************************
33  *
34  * @version CVS $Id: ServletOutputStreamImpl.java 30932 2004-07-29 17:35:38Z vgritsenko $
35  */

36  
37 public class ServletOutputStreamImpl extends ServletOutputStream JavaDoc {
38
39     public ServletOutputStreamImpl() {
40         super();
41     }
42
43     public ServletOutputStreamImpl(ByteArrayOutputStream JavaDoc baos) {
44         super();
45     }
46     
47     public void setImpl( ServletResponseImpl impl ){
48     }
49     
50     public void setExpectedCloseCalls(int closeCall) {
51     }
52
53     public void setExpectingWriteCalls(boolean expectingWriteCall) {
54     }
55
56     public void setThrowIOException(boolean throwException) {
57     }
58
59     public void close() throws IOException JavaDoc {
60     }
61
62     public String JavaDoc toString() {
63         return "";
64     }
65
66     public void write(int b) throws IOException JavaDoc {
67     }
68
69     public void setupClearContents () {
70     }
71
72     public String JavaDoc getContents() {
73         return "";
74     }
75
76     public void verify() {
77     }
78 }
79
Popular Tags