Package com.emc.vipr.ribbon.bean

Examples of com.emc.vipr.ribbon.bean.ListDataNode


    @SuppressWarnings("unchecked")
    protected List<String> parseResponse(HttpResponse response) throws IOException, JAXBException {
        InputStream contentStream = response.getEntity().getContent();
        try {
            ListDataNode listDataNode = (ListDataNode) unmarshaller.unmarshal(contentStream);

            List<String> hosts = new ArrayList<String>();
            for (String host : listDataNode.getDataNodes()) {
                hosts.add(host.trim());
            }
            return hosts;
        } finally {
            try {
View Full Code Here

TOP

Related Classes of com.emc.vipr.ribbon.bean.ListDataNode

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.