Apache CXF API

org.apache.cxf.jaxws.context
Class WrappedMessageContext

java.lang.Object
  extended by org.apache.cxf.jaxws.context.WrappedMessageContext
All Implemented Interfaces:
Map<String,Object>, MessageContext
Direct Known Subclasses:
LogicalMessageContextImpl, SOAPMessageContextImpl

public class WrappedMessageContext
extends Object
implements MessageContext


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.xml.ws.handler.MessageContext
MessageContext.Scope
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
static String SCOPES
           
 
Fields inherited from interface javax.xml.ws.handler.MessageContext
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 Summary
WrappedMessageContext(Map<String,Object> m, Exchange ex, MessageContext.Scope defScope)
           
WrappedMessageContext(Message m)
           
WrappedMessageContext(Message m, MessageContext.Scope defScope)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

SCOPES

public static final String SCOPES
Constructor Detail

WrappedMessageContext

public WrappedMessageContext(Message m)

WrappedMessageContext

public WrappedMessageContext(Message m,
                             MessageContext.Scope defScope)

WrappedMessageContext

public WrappedMessageContext(Map<String,Object> m,
                             Exchange ex,
                             MessageContext.Scope defScope)
Method Detail

isResponse

protected final boolean isResponse()

isRequestor

protected final boolean isRequestor()

isOutbound

protected final boolean isOutbound()

getWrappedMessage

public final Message getWrappedMessage()

getWrappedMap

public final Map<String,Object> getWrappedMap()

clear

public void clear()
Specified by:
clear in interface Map<String,Object>

containsKey

public final boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,Object>

containsValue

public final boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,Object>

get

public Object get(Object key)
Specified by:
get in interface Map<String,Object>

isEmpty

public final boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>

keySet

public final Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>

entrySet

public final Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>

put

public final Object put(String key,
                        Object value)
Specified by:
put in interface Map<String,Object>

put

public final Object put(String key,
                        Object value,
                        MessageContext.Scope scope)

putAll

public final void putAll(Map<? extends String,? extends Object> t)
Specified by:
putAll in interface Map<String,Object>

remove

public final Object remove(Object key)
Specified by:
remove in interface Map<String,Object>

size

public final int size()
Specified by:
size in interface Map<String,Object>

values

public final Collection<Object> values()
Specified by:
values in interface Map<String,Object>

setScope

public final void setScope(String key,
                           MessageContext.Scope arg1)
Specified by:
setScope in interface MessageContext

getScope

public final MessageContext.Scope getScope(String key)
Specified by:
getScope in interface MessageContext

getScopes

public final Map<String,MessageContext.Scope> getScopes()

Apache CXF API

Apache CXF