Class MEPContext

java.lang.Object
org.apache.axis2.jaxws.handler.MEPContext
All Implemented Interfaces:
jakarta.xml.ws.handler.MessageContext, Map<String,Object>

public class MEPContext extends Object implements jakarta.xml.ws.handler.MessageContext
The MEPContext is the version of the MessageContext that will be given to application handlers as the handler list is traversed. It is only to be used by application handlers. The MEPContext object is constructed using a non-null request context. Once the request has been fully processed in the JAX-WS engine, the response context should be set on this. Since the response context is always last, it takes priority in all MEPContext methods.
  • Field Details

  • Constructor Details

  • Method Details

    • getEndpointDesc

      public org.apache.axis2.jaxws.description.EndpointDescription getEndpointDesc()
    • getRequestMessageContext

      public MessageContext getRequestMessageContext()
    • getResponseMessageContext

      public MessageContext getResponseMessageContext()
    • getMessageContext

      public MessageContext getMessageContext()
    • setResponseMessageContext

      public void setResponseMessageContext(MessageContext responseMC)
    • setMessage

      public void setMessage(Message msg)
    • getScope

      public jakarta.xml.ws.handler.MessageContext.Scope getScope(String s)
      Specified by:
      getScope in interface jakarta.xml.ws.handler.MessageContext
    • setScope

      public void setScope(String s, jakarta.xml.ws.handler.MessageContext.Scope scope)
      Specified by:
      setScope in interface jakarta.xml.ws.handler.MessageContext
    • clear

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

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

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

      public Set entrySet()
      Specified by:
      entrySet in interface Map<String,Object>
    • get

      public Object get(Object keyObject)
      Specified by:
      get in interface Map<String,Object>
    • isEmpty

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

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

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

      public void putAll(Map t)
      Specified by:
      putAll in interface Map<String,Object>
    • remove

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

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

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

      public Message getMessageObject()
    • isApplicationAccessLocked

      public boolean isApplicationAccessLocked()
    • setApplicationAccessLocked

      public void setApplicationAccessLocked(boolean applicationAccessLocked)
    • getApplicationScopedProperties

      public Map<String,Object> getApplicationScopedProperties()
      The returned tempMap should be used as a read-only map as changes to it will not propogate into the requestMC or responseMC Watch out for infinite loop if you call another method in this class that uses this method.
      Returns: