Class TelegramBodyPublisher.MultilineBodyPart<T>
- java.lang.Object
-
- org.apache.camel.component.telegram.service.TelegramBodyPublisher.MultilineBodyPart<T>
-
- All Implemented Interfaces:
TelegramBodyPublisher.TelegramBodyPart
- Enclosing class:
- TelegramBodyPublisher
public static class TelegramBodyPublisher.MultilineBodyPart<T> extends Object implements TelegramBodyPublisher.TelegramBodyPart
-
-
Constructor Summary
Constructors Constructor Description MultilineBodyPart(String name, T body, String contentType)MultilineBodyPart(String name, T body, String contentType, String charset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHeader(String key, String value)voidserialize(ByteBuffer buffer, String boundary)static voidserializeEnd(ByteBuffer buffer, String separator)
-
-
-
Method Detail
-
serialize
public void serialize(ByteBuffer buffer, String boundary)
- Specified by:
serializein interfaceTelegramBodyPublisher.TelegramBodyPart
-
serializeEnd
public static void serializeEnd(ByteBuffer buffer, String separator)
-
-