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:
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: public interface HttpSessionContext {
39:
40: /**
41: *
42: * @deprecated As of Java Servlet API 2.1 with
43: * no replacement. This method must
44: * return null and will be removed in
45: * a future version of this API.
46: *
47: */
48:
49: public HttpSession getSession(String sessionId);
50:
51: /**
52: *
53: * @deprecated As of Java Servlet API 2.1 with
54: * no replacement. This method must return
55: * an empty <code>Enumeration</code> and will be removed
56: * in a future version of this API.
57: *
58: */
59:
60: public Enumeration getIds();
61: }
|