public static class AbstractQueue.MessageContent extends Object implements Content, CustomRestHeaders
Constructor and Description |
---|
MessageContent(byte[] data,
String mimeType) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
void |
write(OutputStream outputStream) |
public MessageContent(byte[] data, String mimeType)
public void write(OutputStream outputStream) throws IOException
write
in interface Content
IOException
public String getContentType()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.