Class FileItemPartAdapter
java.lang.Object
com.github.tomakehurst.wiremock.http.multipart.FileItemPartAdapter
- All Implemented Interfaces:
Request.Part
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.common.base.Function<org.apache.commons.fileupload.FileItem,
Request.Part> -
Constructor Summary
-
Method Summary
-
Field Details
-
TO_PARTS
public static final com.google.common.base.Function<org.apache.commons.fileupload.FileItem,Request.Part> TO_PARTS
-
-
Constructor Details
-
FileItemPartAdapter
public FileItemPartAdapter(org.apache.commons.fileupload.FileItem fileItem)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceRequest.Part
-
getHeader
- Specified by:
getHeader
in interfaceRequest.Part
-
getHeaders
- Specified by:
getHeaders
in interfaceRequest.Part
-
getBody
- Specified by:
getBody
in interfaceRequest.Part
-