public static class RestPayloadImpl.Outbound extends PayloadImpl.Outbound
| Constructor and Description |
|---|
Outbound(boolean client2Server) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComplexContentType()
Returns the Content-Type which reflects that multiple Parts will be
in the Payload.
|
protected void |
writePartsTo(OutputStream os)
Writes the Parts in this Outbound Payload to the specified output
stream; concrete implementations will implement this abstract method.
|
void |
writeTo(OutputStream os)
Writes the Payload to the specified output stream.
|
addPart, addPart, addPart, attachFile, attachFile, attachFile, attachFile, getContentType, getHeaderName, getParts, isDirty, newInstance, parts, requestFileRemoval, requestFileRemoval, requestFileReplacement, resetDirty, sizepublic String getComplexContentType()
PayloadImpl.OutboundThis content type might vary among different implementations of Payload.
getComplexContentType in class PayloadImpl.Outboundprotected void writePartsTo(OutputStream os) throws IOException
PayloadImpl.OutboundwritePartsTo in class PayloadImpl.Outboundos - the OutputStream to which the Parts should be writtenIOExceptionpublic void writeTo(OutputStream os) throws IOException
PayloadImpl.OutboundwriteTo in interface Payload.OutboundwriteTo in class PayloadImpl.Outboundos - the OutputStream to which the Payload should be writtenIOExceptionCopyright © 2019. All rights reserved.