public class BinaryAttachmentResponse extends Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
bytes |
private MediaType |
contentType |
private String |
filename |
Constructor and Description |
---|
BinaryAttachmentResponse(byte[] bytes,
MediaType contentType,
String filename) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
MediaType |
getContentType() |
String |
getFilename() |
int |
getSize() |
void |
setBytes(byte[] bytes) |
void |
setContentType(MediaType contentType) |
void |
setFilename(String filename) |
String |
toString() |
private byte[] bytes
private MediaType contentType
private String filename
public byte[] getBytes()
public void setBytes(byte[] bytes)
public MediaType getContentType()
public void setContentType(MediaType contentType)
public String getFilename()
public void setFilename(String filename)
public int getSize()
Copyright © 2012-2014 52north.org. All Rights Reserved.