import static java.util.Objects.requireNonNull;
<BUG>public abstract class UploadParser {
private static final String POST_METHOD = "POST";</BUG>
private static final String MULTIPART = "multipart/";
protected final HttpServletRequest request;
<BUG>protected final HttpServletResponse response;
protected OnPartBegin partBeginCallback;</BUG>
protected OnPartEnd partEndCallback;
protected OnRequestComplete requestCallback;
protected OnError errorCallback;

import static java.util.Objects.requireNonNull;
public class UploadParser {
private static final String POST_METHOD = "POST";
private static final String MULTIPART = "multipart/";
protected final HttpServletRequest request;
protected UploadResponse uploadResponse;
protected OnPartBegin partBeginCallback;
protected OnPartEnd partEndCallback;
protected OnRequestComplete requestCallback;
protected OnError errorCallback;
