Hi,
I have a simple Jersey application running within Jetty. Creating the Jersey application as follows:
ServletHolder holder = handler.addServlet(org.glassfish.jersey.servlet.ServletContainer.class,"/api/crt/*");
holder.setInitOrder(1);
holder.setInitParameter("javax.ws.rs.Application","com.barclays.crt.cva.rest.service.Application");
This is all fine, one thing I'm trying to figure out, how can I adjust the default configuration e.g. I'm not
Sure where I can set the properties for 'jersey.config.io.bufferSize' (don't want buffering when streaming...)
Anyone know how I can set the properties at runtime or how I can get Jersey to read a properties file?
Thanks,
Mike
_______________________________________________
This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.
For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see
http://publicresearch.barclays.com.
_______________________________________________