java - Getting UTF8 strings directly from the web service call without conversion to String -


i'm using cxf implement web services server.
since i'm low on memory don't want web service call parameters translated strings utf-16 rather access original utf-8 buffers half in size in case.
if have web method:

void addbook(string booktext)   

how can booktext without cxf translating java string?

the xml parsers used in java (stax parsers cxf) allow getting xml contents either string or char[]. thus, wouldn't possible raw bytes.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -