Package com.linecorp.bot.client
Class MessageContentResponse.MessageContentResponseBuilder
java.lang.Object
com.linecorp.bot.client.MessageContentResponse.MessageContentResponseBuilder
- Enclosing class:
- MessageContentResponse
-
Method Summary
Modifier and TypeMethodDescriptionallHeaders
(Map<String, List<String>> allHeaders) All HTTP headers of API response.build()
length
(long length) File size of this content.File contents type represented by MIME.stream
(InputStream stream) File input stream of this content.toString()
-
Method Details
-
length
File size of this content.- Returns:
this
.
-
stream
File input stream of this content.- Returns:
this
.
-
mimeType
File contents type represented by MIME.- Returns:
this
.
-
allHeaders
public MessageContentResponse.MessageContentResponseBuilder allHeaders(Map<String, List<String>> allHeaders) All HTTP headers of API response.Note: there are no SPEC for those headers. Current field values are provided AS-IS and can be changed/removed without announces.
- Returns:
this
.
-
build
-
toString
-