public class BinaryAttachmentResponse extends Object
| 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() |
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 © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.