1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.seasar.teeda.core.mock; |
17 | |
|
18 | |
import java.util.Map; |
19 | |
|
20 | |
import javax.faces.context.ExternalContext; |
21 | |
import javax.servlet.http.Cookie; |
22 | |
|
23 | |
import org.seasar.framework.mock.servlet.MockHttpServletRequest; |
24 | |
import org.seasar.framework.mock.servlet.MockHttpServletResponse; |
25 | |
import org.seasar.framework.mock.servlet.MockServletContext; |
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | 1762 | public abstract class MockExternalContext extends ExternalContext { |
31 | |
|
32 | |
public abstract void addRequestCookieMap(Cookie cookie); |
33 | |
|
34 | |
public abstract void setRequestCookieMap(Map map); |
35 | |
|
36 | |
public abstract void addRequestParameterMap(String key, String value); |
37 | |
|
38 | |
public abstract void setRequestParameterMap(Map map); |
39 | |
|
40 | |
public abstract void setMockServletContext( |
41 | |
MockServletContext mockServletContext); |
42 | |
|
43 | |
public abstract MockServletContext getMockServletContext(); |
44 | |
|
45 | |
public abstract void setMockHttpServletRequest( |
46 | |
MockHttpServletRequest mockHttpServletRequest); |
47 | |
|
48 | |
public abstract MockHttpServletRequest getMockHttpServletRequest(); |
49 | |
|
50 | |
public abstract void setMockHttpServletResponse( |
51 | |
MockHttpServletResponse mockHttpServletResponse); |
52 | |
|
53 | |
public abstract MockHttpServletResponse getMockHttpServletResponse(); |
54 | |
|
55 | |
public abstract void setRequestPathInfo(String pathInfo); |
56 | |
} |