public interface OperationRequestPart
OperationRequest.getParts()
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns the contents of the part.
|
String |
getContentAsString()
Returns the content of the part as a
String . |
org.springframework.http.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.
|
String getName()
String getSubmittedFileName()
byte[] getContent()
String getContentAsString()
String
. If the part has no content an
empty string is returned. If the part has a Content-Type
header that
specifies a charset then that charset will be used when converting the contents to
a String
.null
org.springframework.http.HttpHeaders getHeaders()