|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultipartStream
Common functionality across the
MultipartInputStream
and the
MultipartOutputStream
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 instead |
static java.lang.String |
CONTENT_TYPE_MULTIPART
mime type for general multipart content |
static java.lang.String |
KEY_CONTENT_DISPOSITION
key in the headers of each mime entry for the content disposition |
static 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 boundary |
static java.lang.String |
KEY_NAME
key inside the content-disposition header for the name of an input field |
static java.lang.String |
VALUE_FORM_DATA
Deprecated. use FormDataStream.VALUE_FORM_DATA instead |
static 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 |
---|
@Deprecated static final java.lang.String CONTENT_TYPE_FORM_DATA
FormDataStream.CONTENT_TYPE_FORM_DATA
instead
static final java.lang.String KEY_CONTENT_DISPOSITION
static final java.lang.String KEY_FILENAME
static final java.lang.String KEY_MIME_BOUNDARY
static final java.lang.String KEY_NAME
@Deprecated static final java.lang.String VALUE_FORM_DATA
FormDataStream.VALUE_FORM_DATA
instead
static final java.lang.String VALUE_MULTIPART
static final java.lang.String CONTENT_TYPE_MULTIPART
Method Detail |
---|
void closeEntry() throws java.io.IOException
java.io.IOException
- if an I/O error has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |