public class StandardOperationRequestPart extends Object implements OperationRequestPart
OperationRequestPart.| Constructor and Description |
|---|
StandardOperationRequestPart(String name,
String submittedFileName,
byte[] content,
HttpHeaders headers)
Creates a new
StandardOperationRequestPart with the given name. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Returns the contents of the part.
|
HttpHeaders |
getHeaders()
Returns the part's headers.
|
String |
getName()
Returns the name of the part.
|
String |
getSubmittedFileName()
Returns the name of the file that is being uploaded in this part.
|
public StandardOperationRequestPart(String name, String submittedFileName, byte[] content, HttpHeaders headers)
StandardOperationRequestPart with the given name.name - the name of the partsubmittedFileName - the name of the file being uploaded by this partcontent - the contents of the partheaders - the headers of the partpublic String getName()
OperationRequestPartgetName in interface OperationRequestPartpublic String getSubmittedFileName()
OperationRequestPartgetSubmittedFileName in interface OperationRequestPartpublic byte[] getContent()
OperationRequestPartgetContent in interface OperationRequestPartpublic HttpHeaders getHeaders()
OperationRequestPartgetHeaders in interface OperationRequestPart