Class BinaryAttachmentResponse
java.lang.Object
org.n52.shetland.ogc.sos.response.BinaryAttachmentResponse
Simple response class for binary data to be included as a response attachment (for download)
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryAttachmentResponse(byte[] bytes, MediaType contentType, String filename) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()intgetSize()voidsetBytes(byte[] bytes) voidsetContentType(MediaType contentType) voidsetFilename(String filename) toString()