Package org.apache.commons.chain.web

Examples of org.apache.commons.chain.web.MockEnumeration


        }
    }


    public Enumeration getHeaderNames() {
        return (new MockEnumeration(headers.keySet().iterator()));
    }
View Full Code Here


        }
        List list = new ArrayList();
        for (int i = 0; i < headers.length; i++) {
            list.add(headers[i]);
        }
        return (new MockEnumeration(list.iterator()));
    }
View Full Code Here

        return (attributes.get(name));
    }


    public Enumeration getAttributeNames() {
        return (new MockEnumeration(attributes.keySet().iterator()));
    }
View Full Code Here

        return (parameters);
    }


    public Enumeration getParameterNames() {
        return (new MockEnumeration(parameters.keySet().iterator()));
    }
View Full Code Here

        }
    }


    public Enumeration getHeaderNames() {
        return (new MockEnumeration(headers.keySet().iterator()));
    }
View Full Code Here

        }
        List list = new ArrayList();
        for (int i = 0; i < headers.length; i++) {
            list.add(headers[i]);
        }
        return (new MockEnumeration(list.iterator()));
    }
View Full Code Here

        return (attributes.get(name));
    }


    public Enumeration getAttributeNames() {
        return (new MockEnumeration(attributes.keySet().iterator()));
    }
View Full Code Here

        return (parameters);
    }


    public Enumeration getParameterNames() {
        return (new MockEnumeration(parameters.keySet().iterator()));
    }
View Full Code Here

    public Object getAttribute(String name) {
        return attributes.get(name);
    }

    public Enumeration getAttributeNames() {
        return new MockEnumeration(attributes.keySet().iterator());
    }
View Full Code Here

    public Map getParameterMap() {
        return parameters;
    }

    public Enumeration getParameterNames() {
        return new MockEnumeration(parameters.keySet().iterator());
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.chain.web.MockEnumeration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.