Package org.frankframework.stream
Class MessageContext
java.lang.Object
org.frankframework.stream.MessageContext
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMessageContext(String charset) MessageContext(Map<String, Serializable> base) MessageContext(MessageContext base) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(String key) entrySet()getAll()org.springframework.util.MimeTypebooleanisEmpty()voidput(String key, Serializable value) Put key in the message context.voidputAll(Map<String, Serializable> base) with(String name, Serializable value) withAllFrom(Map<String, Serializable> 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
-
CONTEXT_PIPELINE_CALLER
- See Also:
-
CONTEXT_PREVIOUS_PIPE
- See Also:
-
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:
-
IS_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
MessageContext
public MessageContext() -
MessageContext
-
MessageContext
-
MessageContext
-
-
Method Details
-
withAllFrom
-
putAll
-
put
Put key in the message context. If the key already exists, it is overwritten with this value. If the value is NULL then the key is removed. -
get
-
getAll
-
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
-