01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.harness;
07:
08: import java.net.URL;
09:
10: import javax.servlet.http.HttpServletRequest;
11: import javax.servlet.http.HttpServletResponse;
12:
13: public interface StreamTestedProvider {
14:
15: public static int STREAM_CONTENT = 1;
16: public static int STREAM_EDIT_FORM = 2;
17: public static int STREAM_PROCESS_EDIT = 2;
18:
19: public boolean requiresStream(int type);
20:
21: public URL streamProcessEdit(HttpServletRequest request,
22: HttpServletResponse response) throws Exception;
23:
24: public void streamContent(boolean forEdit,
25: HttpServletRequest request, HttpServletResponse response)
26: throws Exception;
27: }
|