Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz896356 add file part size to document file upload form
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmason committed Jan 31, 2013
1 parent 8a46c0d commit f658b7d
Showing 1 changed file with 14 additions and 0 deletions.
Expand Up @@ -71,6 +71,10 @@ public class DocumentFileUploadForm implements Serializable
@PartType("text/plain")
private String hash;

@FormParam("size")
@PartType("text/plain")
private Long size;

public InputStream getFileStream()
{
return fileStream;
Expand Down Expand Up @@ -130,4 +134,14 @@ public void setHash(String hash)
{
this.hash = hash;
}

public Long getSize()
{
return size;
}

public void setSize(Long size)
{
this.size = size;
}
}

0 comments on commit f658b7d

Please sign in to comment.