public interface OperationRequestPart
OperationRequest.getParts()| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Returns the contents of the part.
|
java.lang.String |
getContentAsString()
Returns the content of the part as a
String. |
org.springframework.http.HttpHeaders |
getHeaders()
Returns the part's headers.
|
java.lang.String |
getName()
Returns the name of the part.
|
java.lang.String |
getSubmittedFileName()
Returns the name of the file that is being uploaded in this part.
|
java.lang.String getName()
java.lang.String getSubmittedFileName()
byte[] getContent()
java.lang.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.nullorg.springframework.http.HttpHeaders getHeaders()