Package org.apache.axis2.jaxws.handler
Class MEPContext
java.lang.Object
org.apache.axis2.jaxws.handler.MEPContext
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.
-
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 jakarta.xml.ws.handler.MessageContext
jakarta.xml.ws.handler.MessageContext.Scope -
Field Summary
FieldsFields inherited from interface jakarta.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 -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()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.org.apache.axis2.jaxws.description.EndpointDescriptionjakarta.xml.ws.handler.MessageContext.ScopebooleanbooleanisEmpty()keySet()voidvoidsetApplicationAccessLocked(boolean applicationAccessLocked) voidsetMessage(Message msg) voidsetResponseMessageContext(MessageContext responseMC) voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
requestMC
-
responseMC
-
-
Constructor Details
-
MEPContext
-
-
Method Details
-
getEndpointDesc
public org.apache.axis2.jaxws.description.EndpointDescription getEndpointDesc() -
getRequestMessageContext
-
getResponseMessageContext
-
getMessageContext
-
setResponseMessageContext
-
setMessage
-
getScope
- Specified by:
getScopein interfacejakarta.xml.ws.handler.MessageContext
-
setScope
- Specified by:
setScopein interfacejakarta.xml.ws.handler.MessageContext
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
getMessageObject
-
isApplicationAccessLocked
public boolean isApplicationAccessLocked() -
setApplicationAccessLocked
public void setApplicationAccessLocked(boolean applicationAccessLocked) -
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:
-