/** * @deprecated As of Java Servlet API 2.1, with no direct replacement. */ public Enumeration getServletNames() { return (new Enumerator(empty)); }
/** * @deprecated As of Java Servlet API 2.1, with no direct replacement. */ public Enumeration getServlets() { return (new Enumerator(empty)); }
/** * Return the session identifiers of all sessions defined * within this context. * * @deprecated As of Java Servlet API 2.1 with no replacement. * This method must return an empty <code>Enumeration</code> * and will be removed in a future version of the API. */ public Enumeration<String> getIds() { return (new Enumerator<String>(dummy)); }
/** * @deprecated As of Java Servlet API 2.1, with no direct replacement. */ public Enumeration getServletNames() { return (new Enumerator(empty)); }
/** * Return the session identifiers of all sessions defined * within this context. * * @deprecated As of Java Servlet API 2.1 with no replacement. * This method must return an empty <code>Enumeration</code> * and will be removed in a future version of the API. */ public Enumeration getIds() { return (new Enumerator(dummy)); }
/** * @deprecated As of Java Servlet API 2.1, with no direct replacement. */ @Override public Enumeration<Servlet> getServlets() { return (new Enumerator<Servlet>(emptyServlet)); }
/** * Return an enumeration of the names of the context attributes * associated with this context. */ public Enumeration getAttributeNames() { synchronized (attributes) { return new Enumerator(attributes.keySet(), true); } }
/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ @Override public Enumeration<String> getInitParameterNames() { return (new Enumerator<String>(parameters.keySet())); }
/** * @deprecated As of Java Servlet API 2.1, with no direct replacement. */ @Override @Deprecated public Enumeration<Servlet> getServlets() { return (new Enumerator<Servlet>(emptyServlet)); }
/** * Return an enumeration of the names of the context attributes * associated with this context. */ @Override public Enumeration<String> getAttributeNames() { return new Enumerator<String>(attributes.keySet(), true); }
/** * Override the <code>getAttributeNames()</code> method of the wrapped * request. */ public Enumeration getAttributeNames() { synchronized (attributes) { return (new Enumerator(attributes.keySet())); } }
/** * Return the set of initialization parameter names defined for this * servlet. If none are defined, an empty Enumeration is returned. */ public Enumeration getInitParameterNames() { synchronized (parameters) { return (new Enumerator(parameters.keySet())); } }
/** * Override the <code>getAttributeNames()</code> method of the wrapped * request. */ public Enumeration getAttributeNames() { synchronized (attributes) { return (new Enumerator(attributes.keySet())); } }
/** * Return the set of initialization parameter names defined for this * servlet. If none are defined, an empty Enumeration is returned. */ public Enumeration getInitParameterNames() { return (new Enumerator(parameters.keySet())); }
/** * Return the set of initialization parameter names defined for this * servlet. If none are defined, an empty Enumeration is returned. */ public Enumeration<String> getInitParameterNames() { synchronized (parameters) { return (new Enumerator<String>(parameters.keySet())); } }
/** * Return an enumeration of the names of the context attributes * associated with this context. */ @Override public Enumeration<String> getAttributeNames() { return new Enumerator<String>(attributes.keySet(), true); }
/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ @Override public Enumeration<String> getInitParameterNames() { return (new Enumerator<String>(parameters.keySet())); }
/** * Override the <code>getAttributeNames()</code> method of the wrapped * request. */ @Override public Enumeration<String> getAttributeNames() { synchronized (attributes) { return (new Enumerator<String>(attributes.keySet())); } }
/** * @deprecated As of Java Servlet API 2.1, with no direct replacement. */ @Override @Deprecated public Enumeration<String> getServletNames() { return (new Enumerator<String>(emptyString)); }
/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ @Override public Enumeration<String> getInitParameterNames() { return (new Enumerator<String>(parameters.keySet())); }