public class MultipartPayload extends Object
Constructor and Description |
---|
MultipartPayload(String boundary) |
Modifier and Type | Method and Description |
---|---|
void |
addMultipartPayload(String contentDisposition,
String contentType,
byte[] payload) |
List<BodyPartPayload> |
getBodyParts() |
int |
getContentLength() |
byte[] |
getEndBoundary() |
byte[] |
getStartBoundary(BodyPartPayload bodyPart) |
public MultipartPayload(String boundary)
public byte[] getStartBoundary(BodyPartPayload bodyPart)
public byte[] getEndBoundary()
public int getContentLength()
public List<BodyPartPayload> getBodyParts()
Copyright © 2018. All rights reserved.