public class WrappedMessageContext extends Object implements MessageContext
MessageContext.Scope
Modifier and Type | Field and Description |
---|---|
static String |
SCOPES |
HTTP_REQUEST_HEADERS, HTTP_REQUEST_METHOD, HTTP_RESPONSE_CODE, HTTP_RESPONSE_HEADERS, INBOUND_MESSAGE_ATTACHMENTS, MESSAGE_OUTBOUND_PROPERTY, OUTBOUND_MESSAGE_ATTACHMENTS, PATH_INFO, QUERY_STRING, REFERENCE_PARAMETERS, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE, WSDL_DESCRIPTION, WSDL_INTERFACE, WSDL_OPERATION, WSDL_PORT, WSDL_SERVICE
Constructor and Description |
---|
WrappedMessageContext(Map<String,Object> m,
Exchange ex,
MessageContext.Scope defScope) |
WrappedMessageContext(Message m) |
WrappedMessageContext(Message m,
MessageContext.Scope defScope) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
MessageContext.Scope |
getScope(String key) |
Map<String,MessageContext.Scope> |
getScopes() |
Map<String,Object> |
getWrappedMap() |
Message |
getWrappedMessage() |
boolean |
isEmpty() |
protected boolean |
isOutbound() |
protected boolean |
isRequestor() |
protected boolean |
isResponse() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
Object |
put(String key,
Object value,
MessageContext.Scope scope) |
void |
putAll(Map<? extends String,? extends Object> t) |
Object |
remove(Object key) |
void |
setScope(String key,
MessageContext.Scope arg1) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String SCOPES
public WrappedMessageContext(Message m)
public WrappedMessageContext(Message m, MessageContext.Scope defScope)
public WrappedMessageContext(Map<String,Object> m, Exchange ex, MessageContext.Scope defScope)
protected final boolean isResponse()
protected final boolean isRequestor()
protected final boolean isOutbound()
public final Message getWrappedMessage()
public final boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public final boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public final Object put(String key, Object value, MessageContext.Scope scope)
public final Collection<Object> values()
public final void setScope(String key, MessageContext.Scope arg1)
setScope
in interface MessageContext
public final MessageContext.Scope getScope(String key)
getScope
in interface MessageContext
public final Map<String,MessageContext.Scope> getScopes()
Apache CXF