camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (JIRA)" <j...@apache.org>
Subject [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
Date Wed, 12 Sep 2012 20:53:07 GMT
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

Mime
View raw message