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

Sergey Beryozkin resolved CXF-2801.
-----------------------------------

         Assignee: Sergey Beryozkin
    Fix Version/s: 2.3
                   2.2.8
       Resolution: Fixed

I added resetQuery() method, as well as fragment(). Resetting the query 
automatically on back() might not be the best option in all cases, ex :

client.query("appliesToAllSegments", "").path("/bar");
client.get();
client.path("/baz");
client.get();
client.back(false);
// should still have a query
client.get();

so I thought your idea of adding an explicit reset query method was a better 
option

thanks


> WebClient back() operation doesn't clear query parameters
> ---------------------------------------------------------
>
>                 Key: CXF-2801
>                 URL: https://issues.apache.org/jira/browse/CXF-2801
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.3
>            Reporter: Roman Kalukiewicz
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.3, 2.2.8
>
>
> Query parameters set on WebClient are not reset when back() operation is 
> invoked. Common sense (at least mine) says that query parameters and other 
> parameters should be cleared when back() operation is invoked. Moreover some 
> method to clear query parameters (by name maybe) would be nice to have.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to