public final class EndpointMessageContextImpl
extends AbstractMap<String,Object>
implements jakarta.xml.ws.handler.MessageContext
Implements
WebServiceContext
's MessageContext
on top of Packet
.
This class creates a Map
view for APPLICATION scoped properties that
gets exposed to endpoint implementations during the invocation
of web methods. The implementations access this map using
WebServiceContext.getMessageContext().
Some of the Map
methods requre this class to
build the complete Set
of properties, but we
try to avoid that as much as possible.
- Author:
- Jitendra Kotamraju
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 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
Fields 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
-
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
EndpointMessageContextImpl
- Parameters:
packet
- ThePacket
to wrap.
-
-
Method Details
-
get
-
put
-
remove
-
entrySet
-
setScope
- Specified by:
setScope
in interfacejakarta.xml.ws.handler.MessageContext
-
getScope
- Specified by:
getScope
in interfacejakarta.xml.ws.handler.MessageContext
-