public interface GlueContext extends Map<String,Object>, GlueAuditAttributeHolder
Modifier and Type | Interface and Description |
---|---|
static interface |
GlueContext.ContentType |
static class |
GlueContext.EventType |
static class |
GlueContext.WebContentType
GlueWebContext의 ContentType 정의
|
Modifier and Type | Method and Description |
---|---|
Object |
get(Object key) |
Object |
get(String key,
GlueContext.ContentType type)
RootMap이 아닌 ContentType에 해당 하는 Map에서 해당 key의 값을 얻는다.
|
<T> T |
getAndTryToCast(String key,
Class<T> valueClass) |
<T> T |
getAndTryToCast(String key,
Class<T> valueClass,
GlueContext.ContentType type) |
GlueHashMap<String,Object> |
getDataAsMap(GlueContext.ContentType type) |
GlueContext.EventType |
getEventSourceType() |
Throwable |
getException()
Controller에서 발생한 Exception을 Return
|
GlueMessage |
getMessage()
NonUI의 TC 처리를 위한 Data 를 Return
|
List<GlueMessage> |
getMessages()
NonUI의 File TC 처리를 위한 Data 를 Return
|
GlueMultipartRequest |
getMultiPartRequest() |
Object |
put(String key,
Object value)
GlueContext의 Root Map에 Data를 Set
|
Object |
put(String key,
Object value,
GlueContext.ContentType type)
확장대상..
|
void |
putAll(Map<? extends String,? extends Object> map) |
void |
putAll(Map<? extends String,? extends Object> map,
GlueContext.ContentType type)
확장대상..
|
Object |
remove(Object key) |
void |
setException(Throwable throwable)
Internal Use Only.
|
void |
setMessage(GlueMessage message)
NonUI의 TC 처리를 위한 Data Set
|
void |
setMessages(List<GlueMessage> messages)
NonUI의 File TC 처리를 위한 Data Set
|
void |
setMultiPartRequest(GlueMultipartRequest multipartRequest) |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
getAuditAttributes, setAuditAttributes
GlueHashMap<String,Object> getDataAsMap(GlueContext.ContentType type)
Object get(String key, GlueContext.ContentType type)
key
- type
- <T> T getAndTryToCast(String key, Class<T> valueClass)
key
- valueClass
- <T> T getAndTryToCast(String key, Class<T> valueClass, GlueContext.ContentType type)
key
- valueClass
- type
- Object put(String key, Object value)
put
in interface Map<String,Object>
key
- Object keyvalue
- Object valueMap.put(java.lang.Object, java.lang.Object)
Object put(String key, Object value, GlueContext.ContentType type)
key
- value
- type
- void putAll(Map<? extends String,? extends Object> map, GlueContext.ContentType type)
map
- type
- GlueContext.EventType getEventSourceType()
GlueMessage getMessage()
void setMessage(GlueMessage message)
message
- NonUI의 TC 처리 DataList<GlueMessage> getMessages()
void setMessages(List<GlueMessage> messages)
messages
- NonUI의 File TC 처리 Datavoid setMultiPartRequest(GlueMultipartRequest multipartRequest)
GlueMultipartRequest getMultiPartRequest()
Throwable getException()
void setException(Throwable throwable)
throwable
- - BizController에서 SettingCopyright © 2023–2024 POSCO DX. All rights reserved.