Class AbstractTest<AFU extends org.apache.commons.fileupload2.core.AbstractFileUpload<R,I,F>,R,I extends org.apache.commons.fileupload2.core.FileItem<I>,F extends org.apache.commons.fileupload2.core.FileItemFactory<I>>
java.lang.Object
org.apache.commons.fileupload2.core.AbstractTest<AFU,R,I,F>
- Type Parameters:
AFU- The AbstractFileUpload type.R- The FileUpload request type.I- The FileItem type.F- The FileItemFactory type.
- Direct Known Subclasses:
AbstractProgressListenerTest,AbstractSizesTest,AbstractStreamingTest
public abstract class AbstractTest<AFU extends org.apache.commons.fileupload2.core.AbstractFileUpload<R,I,F>,R,I extends org.apache.commons.fileupload2.core.FileItem<I>,F extends org.apache.commons.fileupload2.core.FileItemFactory<I>>
extends Object
Abstract test.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AFUprotected RnewMockHttpServletRequest(byte[] request, Long overrideContenLength, String contentType, Integer overrideReadLimit) protected abstract RnewMockHttpServletRequest(InputStream requestInputStream, long requestLength, String contentType, int readLimit) protected RnewMockHttpServletRequest(String request, Long overrideContenLength, Integer overrideReadLimit)
-
Constructor Details
-
AbstractTest
public AbstractTest()
-
-
Method Details
-
newFileUpload
-
newMockHttpServletRequest
protected R newMockHttpServletRequest(byte[] request, Long overrideContenLength, String contentType, Integer overrideReadLimit) -
newMockHttpServletRequest
protected abstract R newMockHttpServletRequest(InputStream requestInputStream, long requestLength, String contentType, int readLimit) -
newMockHttpServletRequest
protected R newMockHttpServletRequest(String request, Long overrideContenLength, Integer overrideReadLimit)
-