public class MessageContext extends LinkedHashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_PREFIX |
protected org.apache.logging.log4j.Logger |
log |
static String |
METADATA_CHARSET |
static String |
METADATA_LOCATION |
static String |
METADATA_MIMETYPE |
static String |
METADATA_MODIFICATIONTIME |
static String |
METADATA_NAME |
static String |
METADATA_SIZE |
Constructor and Description |
---|
MessageContext() |
MessageContext(Map<String,Object> base) |
MessageContext(String charset) |
Modifier and Type | Method and Description |
---|---|
MessageContext |
with(String name,
String value) |
MessageContext |
withAllFrom(Map<String,Object> base) |
MessageContext |
withCharset(Charset charset) |
MessageContext |
withCharset(String charset) |
MessageContext |
withLocation(String location) |
MessageContext |
withMimeType(org.springframework.util.MimeType mimeType) |
MessageContext |
withMimeType(String mimeType) |
MessageContext |
withModificationTime(Date time) |
MessageContext |
withModificationTime(long time) |
MessageContext |
withModificationTime(String time) |
MessageContext |
withName(String name) |
MessageContext |
withoutSize() |
MessageContext |
withSize(long size) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
protected transient org.apache.logging.log4j.Logger log
public static final String HEADER_PREFIX
public static final String METADATA_CHARSET
public static final String METADATA_SIZE
public static final String METADATA_MODIFICATIONTIME
public static final String METADATA_NAME
public static final String METADATA_LOCATION
public static final String METADATA_MIMETYPE
public MessageContext()
public MessageContext(String charset)
public MessageContext withAllFrom(Map<String,Object> base)
public MessageContext withCharset(String charset)
public MessageContext withCharset(Charset charset)
public MessageContext withMimeType(String mimeType)
public MessageContext withMimeType(org.springframework.util.MimeType mimeType)
public MessageContext withSize(long size)
public MessageContext withoutSize()
public MessageContext withModificationTime(long time)
public MessageContext withModificationTime(Date time)
public MessageContext withModificationTime(String time) throws CalendarParserException
CalendarParserException
public MessageContext withName(String name)
public MessageContext withLocation(String location)
public MessageContext with(String name, String value)
Copyright © 2023 Frank!Framework. All rights reserved.