View Javadoc

1   /*
2   * Copyright 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  
17  
18  package javax.servlet.http;
19  
20  import java.util.Enumeration;
21  
22  /**
23   *
24   * @author		Various
25   * @version		$Version$
26   *
27   * @deprecated		As of Java(tm) Servlet API 2.1
28   *			for security reasons, with no replacement.
29   *			This interface will be removed in a future
30   *			version of this API.
31   *
32   * @see			HttpSession
33   * @see			HttpSessionBindingEvent
34   * @see			HttpSessionBindingListener
35   *
36   */
37  
38  
39  public interface HttpSessionContext {
40  
41      /**
42       *
43       * @deprecated 	As of Java Servlet API 2.1 with
44       *			no replacement. This method must 
45       *			return null and will be removed in
46       *			a future version of this API.
47       *
48       */
49  
50      public HttpSession getSession(String sessionId);
51      
52      
53      
54    
55      /**
56       *
57       * @deprecated	As of Java Servlet API 2.1 with
58       *			no replacement. This method must return 
59       *			an empty <code>Enumeration</code> and will be removed
60       *			in a future version of this API.
61       *
62       */
63  
64      public Enumeration getIds();
65  }
66  
67  
68  
69  
70