org.apache.axis2.jaxws.handler
Class MEPContext
java.lang.Object
org.apache.axis2.jaxws.handler.MEPContext
public class MEPContext
- extends java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestMC
protected MessageContext requestMC
responseMC
protected MessageContext responseMC
MEPContext
public MEPContext(MessageContext requestMsgCtx)
getEndpointDesc
public 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 Scope getScope(java.lang.String s)
setScope
public void setScope(java.lang.String s,
Scope scope)
clear
public void clear()
containsKey
public boolean containsKey(java.lang.Object key)
containsValue
public boolean containsValue(java.lang.Object value)
entrySet
public java.util.Set entrySet()
get
public java.lang.Object get(java.lang.Object keyObject)
isEmpty
public boolean isEmpty()
keySet
public java.util.Set keySet()
put
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
putAll
public void putAll(java.util.Map t)
remove
public java.lang.Object remove(java.lang.Object key)
size
public int size()
values
public java.util.Collection values()
getMessageObject
public Message getMessageObject()
isApplicationAccessLocked
public boolean isApplicationAccessLocked()
setApplicationAccessLocked
public void setApplicationAccessLocked(boolean applicationAccessLocked)
getApplicationScopedProperties
public java.util.Map<java.lang.String,java.lang.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:
Copyright © 2007 Apache Web Services Project. All Rights Reserved.