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 fromHttpMessage
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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.
-
-