A B C F G M P T V W

A

add(String, String) - Method in class com.squareup.mimecraft.FormEncoding.Builder
Add new key-value pair.
addPart(Part) - Method in class com.squareup.mimecraft.Multipart.Builder
Add a part to the body.

B

body(File) - Method in class com.squareup.mimecraft.Part.Builder
Use the specified file as the body.
body(InputStream) - Method in class com.squareup.mimecraft.Part.Builder
Use the specified stream as the body.
body(String) - Method in class com.squareup.mimecraft.Part.Builder
Use the specified string as the body.
body(byte[]) - Method in class com.squareup.mimecraft.Part.Builder
Use the specified bytes as the body.
body(Multipart) - Method in class com.squareup.mimecraft.Part.Builder
Use the specified Multipart as the body.
build() - Method in class com.squareup.mimecraft.FormEncoding.Builder
Create FormEncoding instance.
build() - Method in class com.squareup.mimecraft.Multipart.Builder
Assemble the specified parts into a Multipart.
build() - Method in class com.squareup.mimecraft.Part.Builder
Assemble the specified headers and body into a Part.

C

com.squareup.mimecraft - package com.squareup.mimecraft
 
contentDisposition(String) - Method in class com.squareup.mimecraft.Part.Builder
Set the Content-Disposition header value.
contentEncoding(String) - Method in class com.squareup.mimecraft.Part.Builder
Set the Content-Transfer-Encoding header value.
contentLanguage(String) - Method in class com.squareup.mimecraft.Part.Builder
Set the Content-Language header value.
contentLength(int) - Method in class com.squareup.mimecraft.Part.Builder
Set the Content-Length header value.
contentType(String) - Method in class com.squareup.mimecraft.Part.Builder
Set the Content-Type header value.

F

FormEncoding - Class in com.squareup.mimecraft
HTML 2.0-compliant form data.
FormEncoding.Builder - Class in com.squareup.mimecraft
Fluent API to build FormEncoding instances.
FormEncoding.Builder() - Constructor for class com.squareup.mimecraft.FormEncoding.Builder
 

G

getHeaders() - Method in class com.squareup.mimecraft.FormEncoding
 
getHeaders() - Method in class com.squareup.mimecraft.Multipart
 
getHeaders() - Method in interface com.squareup.mimecraft.Part
HTTP headers.

M

Multipart - Class in com.squareup.mimecraft
RFC 2387-compliant encoded data.
Multipart.Builder - Class in com.squareup.mimecraft
Fluent API to build Multipart instances.
Multipart.Builder() - Constructor for class com.squareup.mimecraft.Multipart.Builder
 
Multipart.Type - Enum in com.squareup.mimecraft
Multipart MIME types.

P

Part - Interface in com.squareup.mimecraft
HTTP request data with associated headers.
Part.Builder - Class in com.squareup.mimecraft
Fluent API to build Part instances.
Part.Builder() - Constructor for class com.squareup.mimecraft.Part.Builder
 

T

type(Multipart.Type) - Method in class com.squareup.mimecraft.Multipart.Builder
Set the MIME type.

V

valueOf(String) - Static method in enum com.squareup.mimecraft.Multipart.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.mimecraft.Multipart.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeBodyTo(OutputStream) - Method in class com.squareup.mimecraft.FormEncoding
 
writeBodyTo(OutputStream) - Method in class com.squareup.mimecraft.Multipart
 
writeBodyTo(OutputStream) - Method in interface com.squareup.mimecraft.Part
Write request data to the specified stream.

A B C F G M P T V W

Copyright © 2013 Square, Inc.. All Rights Reserved.