public class BinaryAttachmentResponse
extends java.lang.Object
| Constructor and Description |
|---|
BinaryAttachmentResponse(byte[] bytes,
MediaType contentType,
java.lang.String filename) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
MediaType |
getContentType() |
java.lang.String |
getFilename() |
int |
getSize() |
void |
setBytes(byte[] bytes) |
void |
setContentType(MediaType contentType) |
void |
setFilename(java.lang.String filename) |
java.lang.String |
toString() |
public BinaryAttachmentResponse(byte[] bytes,
MediaType contentType,
java.lang.String filename)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public MediaType getContentType()
public void setContentType(MediaType contentType)
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
public int getSize()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.