You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "moby (JIRA)" <ji...@apache.org> on 2019/02/04 10:35:00 UTC

[jira] [Updated] (CXF-7959) WebClient invocation builder header(name, value) method is implemented according to interface

     [ https://issues.apache.org/jira/browse/CXF-7959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

moby updated CXF-7959:
----------------------
    Description: 
Acording to [javadoc|[https://docs.oracle.com/javaee/7/api/javax/ws/rs/client/Invocation.Builder.html#header-java.lang.String-java.lang.Object-],] _"If {{value}} is {{null}} then all current headers of the same name will be removed."_

Now when _null_ value is supplied, it is added to existing header values with same name.

  was:
Acording to [add header with invocation builder|[https://docs.oracle.com/javaee/7/api/javax/ws/rs/client/Invocation.Builder.html#header-java.lang.String-java.lang.Object-]|https://docs.oracle.com/javaee/7/api/javax/ws/rs/client/Invocation.Builder.html#header-java.lang.String-java.lang.Object-],]

_"If {{value}} is {{null}} then all current headers of the same name will be removed."_ 

Now when _null_ value is supplied, it is added to existing header values with same name.


> WebClient invocation builder header(name, value) method is implemented according to interface
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-7959
>                 URL: https://issues.apache.org/jira/browse/CXF-7959
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.3.0
>            Reporter: moby
>            Priority: Major
>
> Acording to [javadoc|[https://docs.oracle.com/javaee/7/api/javax/ws/rs/client/Invocation.Builder.html#header-java.lang.String-java.lang.Object-],] _"If {{value}} is {{null}} then all current headers of the same name will be removed."_
> Now when _null_ value is supplied, it is added to existing header values with same name.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)