public class FileItemPartAdapter extends java.lang.Object implements Request.Part
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<org.apache.commons.fileupload.FileItem,Request.Part> |
TO_PARTS |
| Constructor and Description |
|---|
FileItemPartAdapter(org.apache.commons.fileupload.FileItem fileItem) |
| Modifier and Type | Method and Description |
|---|---|
Body |
getBody() |
HttpHeader |
getHeader(java.lang.String name) |
HttpHeaders |
getHeaders() |
java.lang.String |
getName() |
public static final com.google.common.base.Function<org.apache.commons.fileupload.FileItem,Request.Part> TO_PARTS
public FileItemPartAdapter(org.apache.commons.fileupload.FileItem fileItem)
public java.lang.String getName()
getName in interface Request.Partpublic HttpHeader getHeader(java.lang.String name)
getHeader in interface Request.Partpublic HttpHeaders getHeaders()
getHeaders in interface Request.Partpublic Body getBody()
getBody in interface Request.Part