getDataStream() method

If the request method is POST, this method is called from the network library.

Syntax

public InputStream getDataStream ()

Parameters

Returns

the content data stream.

Example 1

BaseRequest request = new BaseRequest(); InputStream in = request.getDataStream();

Usage

This method must return with the content stream to be sent to the server.