com.ibm.portal.resolver.data
Interface FormDataDataSink
- All Superinterfaces:
- DataSink, Disposable
-
public interface FormDataDataSink
- extends DataSink
Data sink that accepts a multipart data request. Refer to
FormDataInputStream for more information how to use the input stream
to access the individual parts.
- Since:
- 6.1.0.1
- Note:
This interface is designed to be implemented by clients. |
Method Summary
|
DataSource |
read(FormDataInputStream in,
java.lang.String mimeType)
Reads the given multipart form data input stream and based on this
information generates a DataSource object that represents the
response. |
read
DataSource read(FormDataInputStream in,
java.lang.String mimeType)
throws java.io.IOException
- Reads the given multipart form data input stream and based on this
information generates a DataSource object that represents the
response.
- Parameters:
- in - interface to the form data multipart input stream
- mimeType - mime-type of the input
- Returns:
- the data source that represents the result of the decoding
process
- Throws:
- java.io.IOException - -
if an I/O exception occurs