Package org.apache.axis2.jaxws.handler
Class BaseMessageContext
- java.lang.Object
-
- org.apache.axis2.jaxws.handler.BaseMessageContext
-
- All Implemented Interfaces:
Map<String,Object>,MessageContext
- Direct Known Subclasses:
LogicalMessageContext,SoapMessageContext
public class BaseMessageContext extends Object implements MessageContext
BaseMessageContext is the base class for the two handler message contexts: SoapMessageContext and LogicalMessageContext. It delegates everything up to the MEPContext, which itself delegates to the requestMC or responseMC, as appropriate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface javax.xml.ws.handler.MessageContext
MessageContext.Scope
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageContextmessageCtx-
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
Constructors Modifier Constructor Description protectedBaseMessageContext(MessageContext messageCtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,Object>>entrySet()Objectget(Object key)MessageContext.ScopegetScope(String s)booleanisEmpty()Set<String>keySet()Objectput(String key, Object value)voidputAll(Map<? extends String,? extends Object> t)Objectremove(Object key)voidsetScope(String s, MessageContext.Scope scope)intsize()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
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
messageCtx
protected MessageContext messageCtx
-
-
Constructor Detail
-
BaseMessageContext
protected BaseMessageContext(MessageContext messageCtx)
- Parameters:
messageCtx-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Object>
-
getScope
public MessageContext.Scope getScope(String s)
- Specified by:
getScopein interfaceMessageContext
-
setScope
public void setScope(String s, MessageContext.Scope scope)
- Specified by:
setScopein interfaceMessageContext
-
-