01 /*
02 * Copyright 2004 The Apache Software Foundation
03 *
04 * Licensed under the Apache License, Version 2.0 (the "License");
05 * you may not use this file except in compliance with the License.
06 * You may obtain a copy of the License at
07 *
08 * http://www.apache.org/licenses/LICENSE-2.0
09 *
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
17 package javax.servlet.http;
18
19 import java.util.Enumeration;
20
21 /**
22 *
23 * @author Various
24 * @version $Version$
25 *
26 * @deprecated As of Java(tm) Servlet API 2.1
27 * for security reasons, with no replacement.
28 * This interface will be removed in a future
29 * version of this API.
30 *
31 * @see HttpSession
32 * @see HttpSessionBindingEvent
33 * @see HttpSessionBindingListener
34 *
35 */
36
37 public interface HttpSessionContext {
38
39 /**
40 *
41 * @deprecated As of Java Servlet API 2.1 with
42 * no replacement. This method must
43 * return null and will be removed in
44 * a future version of this API.
45 *
46 */
47
48 public HttpSession getSession(String sessionId);
49
50 /**
51 *
52 * @deprecated As of Java Servlet API 2.1 with
53 * no replacement. This method must return
54 * an empty <code>Enumeration</code> and will be removed
55 * in a future version of this API.
56 *
57 */
58
59 public Enumeration getIds();
60 }
|