OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:multipart
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/core/java/com/android/internal/http/multipart/
PartSource.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/PartSource.java,v 1.6 2004/04/18 23:51:37 jsdever Exp $
31
package com.android.internal.http.
multipart
;
37
* An interface for providing access to data when posting
MultiPart
messages.
57
* @return the fileName used for posting a
MultiPart
file part
ByteArrayPartSource.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/ByteArrayPartSource.java,v 1.7 2004/04/18 23:51:37 jsdever Exp $
31
package com.android.internal.http.
multipart
;
FilePartSource.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/FilePartSource.java,v 1.10 2004/04/18 23:51:37 jsdever Exp $
31
package com.android.internal.http.
multipart
;
PartBase.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/PartBase.java,v 1.5 2004/04/18 23:51:37 jsdever Exp $
31
package com.android.internal.http.
multipart
;
StringPart.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/StringPart.java,v 1.11 2004/04/18 23:51:37 jsdever Exp $
31
package com.android.internal.http.
multipart
;
41
* Simple string parameter for a
multipart
post
142
* @see org.apache.commons.httpclient.methods.
multipart
.BasePart#setCharSet(java.lang.String)
FilePart.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/FilePart.java,v 1.19 2004/04/18 23:51:37 jsdever Exp $
31
package com.android.internal.http.
multipart
;
43
* This class implements a part of a
Multipart
post object that
MultipartEntity.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/MultipartRequestEntity.java,v 1.1 2004/10/06 03:39:59 mbecke Exp $
31
package com.android.internal.http.
multipart
;
50
* Implements a request entity suitable for an HTTP
multipart
POST method.
52
* The HTTP
multipart
POST method is defined in section 3.3 of
55
* The media-type
multipart
/form-data follows the rules of all
multipart
56
* MIME data streams as outlined in RFC 1521. The
multipart
/form-data contains
67
*
multipart
posts. Example usage:</p>
88
/** The Content-Type for
multipart
/form-data. */
89
private static final String MULTIPART_FORM_CONTENT_TYPE = "
multipart
/form-data"
[
all
...]
Part.java
2
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/
multipart
/Part.java,v 1.16 2005/01/14 21:16:40 olegk Exp $
31
package com.android.internal.http.
multipart
;
42
* Abstract class for one Part of a
multipart
post object.
59
* @deprecated use {@link org.apache.http.client.methods.
multipart
#MULTIPART_BOUNDARY}
133
* The ASCII bytes to use as the
multipart
boundary.
408
* Gets the length of the
multipart
message including the given parts.
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
MultipartTest.java
17
package com.android.internal.http.
multipart
;
34
File upload = File.createTempFile("
Multipart
", "test");
55
StringBuffer contentType = new StringBuffer("
multipart
/form-data");
58
assertEquals("
Multipart
content type error", contentType.toString(), h.getValue());
114
assertEquals("
Multipart
content error", output.toString(), os.toString());
/packages/apps/Email/src/com/android/email/mail/internet/
MimeBodyPart.java
85
if (body instanceof com.android.email.mail.
Multipart
) {
86
com.android.email.mail.
Multipart
multipart
= ((com.android.email.mail.
Multipart
)body);
local
87
multipart
.setParent(this);
88
setHeader(MimeHeader.HEADER_CONTENT_TYPE,
multipart
.getContentType());
MimeMessage.java
370
if (body instanceof com.android.email.mail.
Multipart
) {
371
com.android.email.mail.
Multipart
multipart
= ((com.android.email.mail.
Multipart
)body);
local
372
multipart
.setParent(this);
373
setHeader(MimeHeader.HEADER_CONTENT_TYPE,
multipart
.getContentType());
558
MimeMultipart
multiPart
= new MimeMultipart(e.getContentType());
559
e.setBody(
multiPart
);
560
stack.push(
multiPart
);
604
// ((
Multipart
) stack.peek()).setEpilogue(sb.toString())
[
all
...]
MimeUtility.java
24
import com.android.email.mail.
Multipart
;
218
if (part.getBody() instanceof
Multipart
) {
219
Multipart
multipart
= (
Multipart
)part.getBody();
local
220
for (int i = 0, count =
multipart
.getCount(); i < count; i++) {
221
BodyPart bodyPart =
multipart
.getBodyPart(i);
235
if (part.getBody() instanceof
Multipart
) {
236
Multipart
multipart
= (Multipart)part.getBody()
local
[
all
...]
/packages/apps/Email/tests/src/com/android/email/mail/transport/
Rfc822OutputTests.java
29
import org.apache.james.mime4j.message.
Multipart
;
185
// Attach a meeting invitation, which needs to be sent as
multipart
/alternative
211
assertTrue(contentType.getBody().contains("
multipart
/alternative"));
212
Multipart
multipart
= (
Multipart
)mimeMessage.getBody();
local
213
List<Body> partList =
multipart
.getBodyParts();
255
assertTrue(contentType.getBody().contains("
multipart
/mixed"));
256
Multipart
multipart
= (Multipart)mimeMessage.getBody()
local
[
all
...]
Completed in 545 milliseconds