Class ApacheClientHelper

  • All Implemented Interfaces:

    
    public class ApacheClientHelper
    
                        

    Utilities for the apache http client.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static ListMultimap<String, String> allHeadersToMultimap(Array<Header> allHeaders) Converts apache headers into a ListMultimap.
      • Methods inherited from class java.lang.Object

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

      • ApacheClientHelper

        ApacheClientHelper()
    • Method Detail

      • allHeadersToMultimap

         static ListMultimap<String, String> allHeadersToMultimap(Array<Header> allHeaders)

        Converts apache headers into a ListMultimap.

        Parameters:
        allHeaders - array of apache Header elements.
        Returns:

        Map of all header entries.