Added ETag and lastModified fields
This commit is contained in:
parent
4ab51d544a
commit
138eb38903
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue