This commit is contained in:
Redkale
2017-05-14 15:52:15 +08:00
parent 9954eaf469
commit ef28e32e04
6 changed files with 295 additions and 7 deletions

View File

@@ -29,6 +29,9 @@ public class HelloEntity {
@RestBody
private byte[] bodys;
@RestUploadFile
private byte[] uploads;
@RestBody
private Map<String, String> bodymap;
@@ -123,6 +126,14 @@ public class HelloEntity {
this.bodymap = bodymap;
}
public byte[] getUploads() {
return uploads;
}
public void setUploads(byte[] uploads) {
this.uploads = uploads;
}
@Override
public String toString() {
return JsonFactory.root().getConvert().convertTo(this);