Class PartParser.ByteArrayUploadContext
java.lang.Object
com.github.tomakehurst.wiremock.http.multipart.PartParser.ByteArrayUploadContext
- All Implemented Interfaces:
org.apache.commons.fileupload.RequestContext,org.apache.commons.fileupload.UploadContext
- Enclosing class:
- PartParser
public static class PartParser.ByteArrayUploadContext
extends Object
implements org.apache.commons.fileupload.UploadContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongint
-
Constructor Details
-
ByteArrayUploadContext
-
-
Method Details
-
contentLength
public long contentLength()- Specified by:
contentLengthin interfaceorg.apache.commons.fileupload.UploadContext
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin interfaceorg.apache.commons.fileupload.RequestContext
-
getContentType
- Specified by:
getContentTypein interfaceorg.apache.commons.fileupload.RequestContext
-
getContentLength
public int getContentLength()- Specified by:
getContentLengthin interfaceorg.apache.commons.fileupload.RequestContext
-
getInputStream
- Specified by:
getInputStreamin interfaceorg.apache.commons.fileupload.RequestContext- Throws:
IOException
-