Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.resolver.streams
Interface MultipartStream
- All Superinterfaces:
- java.nio.channels.Channel, java.io.Closeable
- All Known Subinterfaces:
- FormDataStream
- All Known Implementing Classes:
- FormDataInputStream, MultipartInputStream, MultipartOutputStream
public interface MultipartStream- extends java.nio.channels.Channel, java.io.Closeable
Common functionality across the MultipartInputStream and the MultipartOutputStream
- Since:
- 6.1.0
Nested Class Summary static interface MultipartStream.Entry
This class is used to represent a multipart stream entry.
Field Summary static java.lang.String CONTENT_TYPE_FORM_DATA
Deprecated. use FormDataStream.CONTENT_TYPE_FORM_DATA insteadstatic java.lang.String CONTENT_TYPE_MULTIPART
mime type for general multipart contentstatic java.lang.String KEY_CONTENT_DISPOSITION
key in the headers of each mime entry for the content dispositionstatic java.lang.String KEY_FILENAME
The name of the content-disposition key that identifies the filename for a file upload part *static java.lang.String KEY_MIME_BOUNDARY
key in the content type that denotes the MIME boundarystatic java.lang.String KEY_NAME
key inside the content-disposition header for the name of an input fieldstatic java.lang.String VALUE_FORM_DATA
Deprecated. use FormDataStream.VALUE_FORM_DATA insteadstatic java.lang.String VALUE_MULTIPART
identification of a content disposition that identifies a form field
Method Summary void closeEntry()
Closes the current multipart entry and positions the stream for the next entry
Methods inherited from interface java.nio.channels.Channel close, isOpen
Field Detail CONTENT_TYPE_FORM_DATA
@Deprecated static final java.lang.String CONTENT_TYPE_FORM_DATA
- Deprecated. use FormDataStream.CONTENT_TYPE_FORM_DATA instead
- mime type constants
- See Also:
- Constant Field Values
KEY_CONTENT_DISPOSITION
static final java.lang.String KEY_CONTENT_DISPOSITION
- key in the headers of each mime entry for the content disposition
- See Also:
- Constant Field Values
KEY_FILENAME
static final java.lang.String KEY_FILENAME
- The name of the content-disposition key that identifies the filename for a file upload part *
- See Also:
- Constant Field Values
KEY_MIME_BOUNDARY
static final java.lang.String KEY_MIME_BOUNDARY
- key in the content type that denotes the MIME boundary
- See Also:
- Constant Field Values
KEY_NAME
static final java.lang.String KEY_NAME
- key inside the content-disposition header for the name of an input field
- See Also:
- Constant Field Values
VALUE_FORM_DATA
@Deprecated static final java.lang.String VALUE_FORM_DATA
- Deprecated. use FormDataStream.VALUE_FORM_DATA instead
- identification of a content disposition that identifies a form field
- See Also:
- Constant Field Values
VALUE_MULTIPART
static final java.lang.String VALUE_MULTIPART
- identification of a content disposition that identifies a form field
- See Also:
- Constant Field Values
CONTENT_TYPE_MULTIPART
static final java.lang.String CONTENT_TYPE_MULTIPART
- mime type for general multipart content
- Since:
- 6.1.0.3
- See Also:
- Constant Field Values
Method Detail closeEntry
void closeEntry() throws java.io.IOException
- Closes the current multipart entry and positions the stream for the next entry
- Throws:
- java.io.IOException - if an I/O error has occurred
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD