if (!initialized) {
initialized = true;
this.boundaryMarker = getBoundaryMarker(super.getContentType());
if (this.boundaryMarker == null) {
throw new FileUploadException("The request was rejected because "
+ "no multipart boundary was found");
}
if (HYPHENS.length + boundaryMarker.length + CHUNK_SIZE + CR_LF.length > BUFFER_SIZE) {
throw new FileUploadException("Boundary marker is too long");
}
this.encoding = getCharacterEncoding();
this.parameters = new HashMap<String, Param>();