Added ETag and lastModified fields

This commit is contained in:
hns 2002-10-27 18:43:30 +00:00
parent 4ab51d544a
commit 138eb38903

View file

@ -4,6 +4,7 @@
package helma.util;
import java.io.*;
import java.util.Date;
/**
* This represents a MIME part of a HTTP file upload
@ -16,6 +17,9 @@ public class MimePart implements Serializable {
public String contentType;
private byte[] content;
public Date lastModified;
public String eTag;
public MimePart (String name, byte[] content, String contentType) {
this.name = name;