/** * @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 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 an <code>Enumeration</code> of the names of the initialization * parameters for this Filter. */ public Enumeration getInitParameterNames() { Map map = filterDef.getParameterMap(); if (map == null) return (new Enumerator(new ArrayList())); else return (new Enumerator(map.keySet())); }
/** * Return an <code>Enumeration</code> of the names of the initialization * parameters for this Filter. */ public Enumeration<String> getInitParameterNames() { Map<String, String> map = filterDef.getParameterMap(); if (map == null) { return (new Enumerator(new ArrayList<String>())); } else { return (new Enumerator(map.keySet())); } }
/** * Return an <code>Enumeration</code> of the names of the initialization * parameters for this Filter. */ public Enumeration<String> getInitParameterNames() { Map<String, String> map = filterDef.getParameterMap(); if (map == null) { return (new Enumerator(new ArrayList<String>())); } else { return (new Enumerator(map.keySet())); } }
/** * Return an <code>Enumeration</code> of the names of the initialization * parameters for this Filter. */ @Override public Enumeration<String> getInitParameterNames() { Map<String,String> map = filterDef.getParameterMap(); if (map == null) { return (new Enumerator<String>(new ArrayList<String>())); } return new Enumerator<String>(map.keySet()); }
/** * Override the <code>getParameterNames()</code> method of the * wrapped request. */ @Override public Enumeration<String> getParameterNames() { parseParameters(); return (new Enumerator<String>(parameters.keySet())); }
/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ public Enumeration getInitParameterNames() { mergeParameters(); return (new Enumerator(parameters.keySet())); }
/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ public Enumeration getInitParameterNames() { mergeParameters(); synchronized (parameters) { return (new Enumerator(parameters.keySet())); } }
/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ public Enumeration getInitParameterNames() { mergeParameters(); return (new Enumerator(parameters.keySet())); }
/** * Return the names of all request attributes for this Request, or an * empty <code>Enumeration</code> if there are none. */ public Enumeration getAttributeNames() { if (isSecure()) { getAttribute(Globals.CERTIFICATES_ATTR); } return new Enumerator(attributes.keySet(), true); }
/** * Return an <code>Enumeration</code> of <code>String</code> objects * containing the names of the objects bound to this session. * * @exception IllegalStateException if this method is called on an * invalidated session */ public Enumeration getAttributeNames() { if (!isValidInternal()) throw MESSAGES.invalidSession(); return (new Enumerator(attributes.keySet(), true)); }