Class CombinedHttpHeaders

    • Constructor Detail

      • CombinedHttpHeaders

        public CombinedHttpHeaders​(boolean validate)
    • Method Detail

      • containsValue

        public boolean containsValue​(CharSequence name,
                                     CharSequence value,
                                     boolean ignoreCase)
        Description copied from class: HttpHeaders
        Returns true if a header with the name and value exists, false otherwise. This also handles multiple values that are separated with a ,.

        If ignoreCase is true then a case insensitive compare is done on the value.

        Overrides:
        containsValue in class HttpHeaders
        Parameters:
        name - the name of the header to find
        value - the value of the header to find
        ignoreCase - true then a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.