cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Content-type with Java mapping?

peter_wallner2
Active Contributor
0 Kudos

Dear experts,

I had opened thread

which is solved.

Now my question is how could I change the content-type with a java mapping? I am working on PI 7.1 so the class needs to

extend "AbstractTransformation".

Do I already have to adapt the content-type within the method

public String convertStreamToString(InputStream in) {...}

How can I access the content-type? Does anyone have an idea?

Thank you for any hints!

Peter

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

you can change the content type as specified in this thread

peter_wallner2
Active Contributor
0 Kudos

Hello Shabarish Vijayakumar,

Thank you for your help.

I was just wondering if there was a java mapping too to achieve that.

Best regards,

Peter