Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » StreamHTTPParms interface


setOutputBufferSize method

Sets the size, in bytes, of the output buffer used to store data before it is sent to the MobiLink server.

void StreamHTTPParms.setOutputBufferSize(
  int size
  • size   The new buffer size.


The default is 512 on non-Blackberry J2ME; otherwise, 4096. Valid values range between 512 and 32768. Increasing this value may cause the Java runtime to send chunked HTTP, which the MobiLink server cannot process. If the MobiLink server outputs an "unknown transfer encoding" error, try decreasing this value.

See also