01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package weblogic.servlet.internal;
18:
19: import java.io.ByteArrayOutputStream;
20: import java.io.IOException;
21: import javax.servlet.ServletOutputStream;
22:
23: /**
24: * **********************************************************************
25: * * W A R N I N G *
26: * **********************************************************************
27: *
28: * This is a mock object of the class, not the actual class.
29: * It's used to compile the code in absence of the actual class.
30: *
31: * This class is created by hand, not automatically.
32: *
33: * **********************************************************************
34: *
35: * @version CVS $Id: ServletOutputStreamImpl.java 433543 2006-08-22 06:22:54Z crossley $
36: */
37:
38: public class ServletOutputStreamImpl extends ServletOutputStream {
39:
40: public ServletOutputStreamImpl() {
41: super ();
42: }
43:
44: public ServletOutputStreamImpl(ByteArrayOutputStream baos) {
45: super ();
46: }
47:
48: public void setImpl(ServletResponseImpl impl) {
49: }
50:
51: public void setExpectedCloseCalls(int closeCall) {
52: }
53:
54: public void setExpectingWriteCalls(boolean expectingWriteCall) {
55: }
56:
57: public void setThrowIOException(boolean throwException) {
58: }
59:
60: public void close() throws IOException {
61: }
62:
63: public String toString() {
64: return "";
65: }
66:
67: public void write(int b) throws IOException {
68: }
69:
70: public void setupClearContents() {
71: }
72:
73: public String getContents() {
74: return "";
75: }
76:
77: public void verify() {
78: }
79: }
|