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

indika priyantha kumara reassigned SYNAPSE-371:
-----------------------------------------------

    Assignee: indika priyantha kumara

> Inappropriate return type in RegistryEntry#getType
> --------------------------------------------------
>
>                 Key: SYNAPSE-371
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-371
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: N/A
>            Reporter: Andreas Veithen
>            Assignee: indika priyantha kumara
>
> The method RegistryEntry#getType returns the content type of the registry 
> entry. The return type of this method is java.net.URI, which is not an 
> appropriate Java type to represent a content type. Note that in most cases 
> the content type is of the form "xxx/yyy" which is also a valid (relative) 
> URI. However for a content type such as "text/xml; charset=UTF-8" this causes 
> problems: see 
> (http://www.nabble.com/Re%3A-Remote-configuration-via-HTTP-based-registries-p18020345.html).
>  The return type should be changed to javax.mail.ContentType or alternatively 
> java.lang.String.
> Note that we need to check the impact on registry implementations hosted 
> outside of the Synapse project (if there are any).

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to