You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (JIRA)" <ji...@apache.org> on 2012/09/12 22:53:07 UTC

[jira] [Created] (CAMEL-5600) RestletEndpoint updates it's URI with a list of a comma seperated values of the restlet Methods which ends with a comma character

Babak Vahdat created CAMEL-5600:
-----------------------------------

             Summary: RestletEndpoint updates it's URI with a list of a comma seperated values of the restlet Methods which ends with a comma character
                 Key: CAMEL-5600
                 URL: https://issues.apache.org/jira/browse/CAMEL-5600
             Project: Camel
          Issue Type: Task
          Components: camel-restlet
    Affects Versions: 2.9.4
            Reporter: Babak Vahdat
            Assignee: Babak Vahdat
            Priority: Minor
             Fix For: 2.9.4, 2.11.0, 2.10.2


CAMEL-5535 introduced the {{RestletEndpoint.updateEndpointUri()}} method which updates the endpoint URI through adding the list of the restlet Methods being asked, e.g. given the endpoint URI:

{code}
"restlet:http://localhost:9090/users/user?restletMethods=post,get"
{code}

{{RestletEndpoint.updateEndpointUri()}} updates it's own URI to:
{code}
"http://localhost:9090/users/user?restletMethods=POST,GET,"
{code}

Note the last "," after the {{GET}} method. It would be nice if we could get rid of this last comma like:
{code}
"http://localhost:9090/users/user?restletMethods=POST,GET"
{code}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5600) RestletEndpoint updates it's URI with a list of a comma seperated values of the restlet Methods which ends with a comma character

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Babak Vahdat resolved CAMEL-5600.
---------------------------------

    Resolution: Fixed
    
> RestletEndpoint updates it's URI with a list of a comma seperated values of the restlet Methods which ends with a comma character
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5600
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5600
>             Project: Camel
>          Issue Type: Task
>          Components: camel-restlet
>    Affects Versions: 2.9.4
>            Reporter: Babak Vahdat
>            Assignee: Babak Vahdat
>            Priority: Minor
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>
> CAMEL-5535 introduced the {{RestletEndpoint.updateEndpointUri()}} method which updates the endpoint URI through adding the list of the restlet Methods being asked, e.g. given the endpoint URI:
> {code}
> "restlet:http://localhost:9090/users/user?restletMethods=post,get"
> {code}
> {{RestletEndpoint.updateEndpointUri()}} updates it's own URI to:
> {code}
> "http://localhost:9090/users/user?restletMethods=POST,GET,"
> {code}
> Note the last "," after the {{GET}} method. It would be nice if we could get rid of this last comma like:
> {code}
> "http://localhost:9090/users/user?restletMethods=POST,GET"
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira