Class FileItemPartAdapter
java.lang.Object
com.github.tomakehurst.wiremock.http.multipart.FileItemPartAdapter
- All Implemented Interfaces:
Request.Part
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<org.apache.commons.fileupload.FileItem,Request.Part> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TO_PARTS
-
-
Constructor Details
-
FileItemPartAdapter
public FileItemPartAdapter(org.apache.commons.fileupload.FileItem fileItem)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceRequest.Part
-
getFileName
- Specified by:
getFileNamein interfaceRequest.Part
-
getHeader
- Specified by:
getHeaderin interfaceRequest.Part
-
getHeaders
- Specified by:
getHeadersin interfaceRequest.Part
-
getBody
- Specified by:
getBodyin interfaceRequest.Part
-