/** * Writes the Payload to the specified output stream. * * @param os the OutputStream to which the Payload should be written * @throws java.io.IOException */ @Override public void writeTo(final OutputStream os) throws IOException { if (isComplex()) { writePartsTo(os); } else { parts.get(0).copy(os); } }
/** * Writes the Payload to the specified output stream. * * @param os the OutputStream to which the Payload should be written * @throws java.io.IOException */ @Override public void writeTo(final OutputStream os) throws IOException { if (isComplex()) { writePartsTo(os); } else { parts.get(0).copy(os); } }
/** * Writes the Payload to the specified output stream. * * @param os the OutputStream to which the Payload should be written * @throws java.io.IOException */ @Override public void writeTo(final OutputStream os) throws IOException { if (isComplex()) { writePartsTo(os); } else { parts.get(0).copy(os); } }