Writing directly to OutputStream

UI Components for JSF
Post Reply
averri
Posts: 136
Joined: 07 Sep 2009, 15:51
Location: Brazil

10 Feb 2014, 18:53

Hello, I saw that the method for sending websocket messages is 'push(String channel, String msg)'.

I would like to write directly to OutputStream in order to improve performance. I am using Jackson JSON parser, which writes directly to OutputStream. Sending small String messages is not a problem in 'push(String channel, String msg)', but when you need to send large messages very frequently the problem arises.

Please let me know if we can made a patch for PrimePush in order to write messages directly to OutputStream. The new API signature could be 'push(String channel, OutputStream out)'.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: katmel98 and 15 guests