Package com.google.cloud.functions
Interface HttpRequest.HttpPart
- All Superinterfaces:
HttpMessage
- Enclosing interface:
- HttpRequest
public static interface HttpRequest.HttpPart extends HttpMessage
Represents one part inside a multipart (
multipart/form-data
) HTTP request. Each such
part can have its own HTTP headers, which can be retrieved with the methods inherited from
HttpMessage
.-
Method Summary
Modifier and Type Method Description java.util.Optional<java.lang.String>
getFileName()
Returns the filename associated with this part, if any.Methods inherited from interface com.google.cloud.functions.HttpMessage
getCharacterEncoding, getContentLength, getContentType, getFirstHeader, getHeaders, getInputStream, getReader
-
Method Details
-
getFileName
java.util.Optional<java.lang.String> getFileName()Returns the filename associated with this part, if any.- Returns:
- the filename associated with this part, if any.
-