Index

B C F G M N P V 
All Classes and Interfaces|All Packages

B

build.serve.form - module build.serve.form
Form body parsing: URL-encoded and multipart/form-data.
build.serve.form - package build.serve.form
 
bytes() - Method in class build.serve.form.FormPart
The raw bytes of this part's body.

C

contentType() - Method in class build.serve.form.FormPart
The Content-Type of this part, if declared.

F

fields() - Method in class build.serve.form.FormData
Returns all fields as an unmodifiable map.
filename() - Method in class build.serve.form.FormPart
The client-supplied filename, if this part represents a file upload.
FormData - Class in build.serve.form
Parsed application/x-www-form-urlencoded form data.
FormPart - Class in build.serve.form
A single part from a multipart/form-data request body.
from(Request) - Static method in class build.serve.form.FormData
Parses application/x-www-form-urlencoded form data from the given Request.
from(Request) - Static method in class build.serve.form.MultipartData
Parses multipart form data from the given Request.

G

get(String) - Method in class build.serve.form.FormData
Returns the first value for the given field name, or empty if absent.
get(String) - Method in class build.serve.form.MultipartData
Returns the first part with the given name, or empty if absent.
getAll(String) - Method in class build.serve.form.FormData
Returns all values for the given field name.
getAll(String) - Method in class build.serve.form.MultipartData
Returns all parts with the given name.

M

MultipartData - Class in build.serve.form
Parsed multipart/form-data request body.

N

name() - Method in class build.serve.form.FormPart
The form field name from the Content-Disposition header.

P

parse(byte[], String) - Static method in class build.serve.form.MultipartData
Parses multipart form data from raw bytes with the given boundary.
parse(String) - Static method in class build.serve.form.FormData
Parses application/x-www-form-urlencoded form data from a raw string.
parts() - Method in class build.serve.form.MultipartData
Returns all parts in this multipart body.

V

value() - Method in class build.serve.form.FormPart
The part body decoded as a UTF-8 string.
B C F G M N P V 
All Classes and Interfaces|All Packages