Not able to use Jersey Multipart in Openfire plugin


I am new to Openfire plugin development , and I am developing a plugin, in which I want to create a rest API which accepts multipart data ad a form param . if I do not use multipart my other APIs are working fine but ,when i use stream as a formparam all the APIs stop working .

If any one can help me about this .

I am really struggling with it…!

thanx in advance …!