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 javax.xml.ws.handler.MessageContext
ImplementsWebServiceContext'sMessageContexton top ofPacket.This class creates a
Mapview 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
Mapmethods requre this class to build the completeSetof 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 javax.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()Objectget(Object key)javax.xml.ws.handler.MessageContext.ScopegetScope(String name)Objectput(String key, Object value)Objectremove(Object key)voidsetScope(String name, javax.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, javax.xml.ws.handler.MessageContext.Scope scope)
- Specified by:
setScopein interfacejavax.xml.ws.handler.MessageContext
-
getScope
public javax.xml.ws.handler.MessageContext.Scope getScope(String name)
- Specified by:
getScopein interfacejavax.xml.ws.handler.MessageContext
-
-