Package org.frankframework.stream
Class MessageContext
java.lang.Object
org.frankframework.stream.MessageContext
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMessageContext
(String charset) MessageContext
(Map<String, ?> base) MessageContext
(MessageContext base) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) entrySet()
org.springframework.util.MimeType
boolean
isEmpty()
void
void
withAllFrom
(Map<String, ?> base) withCharset
(String charset) Adds supplied charset to the message context.withCharset
(Charset charset) withLocation
(String location) withMimeType
(String mimeType) withMimeType
(org.springframework.util.MimeType mimeType) withModificationTime
(long time) withModificationTime
(Instant time) withModificationTime
(Date time) withSize
(long size)
-
Field Details
-
HEADER_PREFIX
- See Also:
-
METADATA_CHARSET
- See Also:
-
METADATA_SIZE
- See Also:
-
METADATA_MODIFICATIONTIME
- See Also:
-
METADATA_NAME
- See Also:
-
METADATA_LOCATION
- See Also:
-
METADATA_MIMETYPE
- See Also:
-
-
Constructor Details
-
MessageContext
public MessageContext() -
MessageContext
-
MessageContext
-
MessageContext
-
-
Method Details
-
withAllFrom
-
putAll
-
put
-
get
-
containsKey
-
isEmpty
public boolean isEmpty() -
entrySet
-
withCharset
Adds supplied charset to the message context.- Parameters:
charset
- to add- Returns:
- MessageContext with charset added
-
withCharset
-
withMimeType
-
withMimeType
-
getMimeType
public org.springframework.util.MimeType getMimeType() -
withSize
-
withoutSize
-
withModificationTime
-
withModificationTime
-
withModificationTime
-
withName
-
withLocation
-
with
-