Package com.sun.xml.ws.server
Class EndpointMessageContextImpl
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.sun.xml.ws.server.EndpointMessageContextImpl
-
public final class EndpointMessageContextImpl extends AbstractMap<String,Object> implements jakarta.xml.ws.handler.MessageContext
ImplementsWebServiceContext
'sMessageContext
on top ofPacket
.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 completeSet
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>
-
-
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
Constructors Constructor Description EndpointMessageContextImpl(Packet packet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Map.Entry<String,Object>>
entrySet()
Object
get(Object key)
jakarta.xml.ws.handler.MessageContext.Scope
getScope(String name)
Object
put(String key, Object value)
Object
remove(Object key)
void
setScope(String name, jakarta.xml.ws.handler.MessageContext.Scope scope)
-
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
-
-
-
-
Method Detail
-
setScope
public void setScope(String name, jakarta.xml.ws.handler.MessageContext.Scope scope)
- Specified by:
setScope
in interfacejakarta.xml.ws.handler.MessageContext
-
getScope
public jakarta.xml.ws.handler.MessageContext.Scope getScope(String name)
- Specified by:
getScope
in interfacejakarta.xml.ws.handler.MessageContext
-
-