public class CreateAttachment extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
CreateAttachment(OctaneHttpClient octaneHttpClient,
String urlDomain) |
| Modifier and Type | Method and Description |
|---|---|
CreateAttachment |
attachment(EntityModel entity,
InputStream stream,
String type,
String name)
Setter of new entities to create and file to upload
|
OctaneCollection |
execute()
Request Post Execution with Multipart content type
|
protected CreateAttachment(OctaneHttpClient octaneHttpClient, String urlDomain)
public CreateAttachment attachment(EntityModel entity, InputStream stream, String type, String name)
entity - - new entity to createstream - - file streamtype - The content typename - The content namepublic OctaneCollection execute()
Copyright © 2021 Micro Focus. All rights reserved.