[teiid-issues] [JBoss JIRA] (TEIID-2694) Support for Blob Input in Teiid REST services

Steven Hawkins (JIRA) issues at jboss.org
Thu Feb 19 19:20:49 EST 2015


    [ https://issues.jboss.org/browse/TEIID-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042212#comment-13042212 ] 

Steven Hawkins commented on TEIID-2694:
---------------------------------------

Resteasy considers the charset automatically when calling getBodyAsString, but not when just getting the InputStream.  So it looks like for character data, we'll need to get the charset :

String charset = mediaType.getParameters().get("charset"); 

That can then be set on the SQLXMLImpl and the ClobImpl.

> Support for Blob Input in Teiid REST services
> ---------------------------------------------
>
>                 Key: TEIID-2694
>                 URL: https://issues.jboss.org/browse/TEIID-2694
>             Project: Teiid
>          Issue Type: Enhancement
>    Affects Versions: 8.5
>         Environment: EAP 6.1 Alpha , Teiid 8.5
>            Reporter: Madhu Garimilla
>            Assignee: Ramesh Reddy
>              Labels: Final
>             Fix For: 8.10
>
>
> We are trying to upload large files as Blobs using Teiid REST service through VDB. Though we are writing the Blob objects to HttpUrlConnection object, it is not received on REST method. As per the conversation in the thread "https://community.jboss.org/thread/232840"  Current parameter handling is done through strings and needs be enhanced to support Blob objects.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list