Class ResponseHandlingUtils


  • public class ResponseHandlingUtils
    extends java.lang.Object
    Utility functions for handling the results of WS-Man Get and Enumerate calls.
    Author:
    jwhite
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getMatchingIndex​(java.lang.String spelExpression, com.google.common.collect.ListMultimap<java.lang.String,​java.lang.String> values)  
      static boolean matchesFilter​(java.lang.String spelFilter, com.google.common.collect.ListMultimap<java.lang.String,​java.lang.String> valuesByName)  
      static com.google.common.collect.ListMultimap<java.lang.String,​java.lang.String> toMultiMap​(org.w3c.dom.Node node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseHandlingUtils

        public ResponseHandlingUtils()
    • Method Detail

      • toMultiMap

        public static com.google.common.collect.ListMultimap<java.lang.String,​java.lang.String> toMultiMap​(org.w3c.dom.Node node)
      • getMatchingIndex

        public static int getMatchingIndex​(java.lang.String spelExpression,
                                           com.google.common.collect.ListMultimap<java.lang.String,​java.lang.String> values)
                                    throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • matchesFilter

        public static boolean matchesFilter​(java.lang.String spelFilter,
                                            com.google.common.collect.ListMultimap<java.lang.String,​java.lang.String> valuesByName)