com.sun.xml.ws.server
Class EndpointMessageContextImpl
java.lang.Object
java.util.AbstractMap<String,Object>
com.sun.xml.ws.server.EndpointMessageContextImpl
- All Implemented Interfaces:
- Map<String,Object>, MessageContext
public final class EndpointMessageContextImpl
- extends AbstractMap<String,Object>
- implements 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.
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| 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 |
| Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
EndpointMessageContextImpl
public EndpointMessageContextImpl(Packet packet)
- Parameters:
packet - The Packet to wrap.
get
public Object get(Object key)
- Specified by:
get in interface Map<String,Object>- Overrides:
get in class AbstractMap<String,Object>
put
public Object put(String key,
Object value)
- Specified by:
put in interface Map<String,Object>- Overrides:
put in class AbstractMap<String,Object>
remove
public Object remove(Object key)
- Specified by:
remove in interface Map<String,Object>- Overrides:
remove in class AbstractMap<String,Object>
entrySet
public Set<Map.Entry<String,Object>> entrySet()
- Specified by:
entrySet in interface Map<String,Object>- Specified by:
entrySet in class AbstractMap<String,Object>
setScope
public void setScope(String name,
MessageContext.Scope scope)
- Specified by:
setScope in interface MessageContext
getScope
public MessageContext.Scope getScope(String name)
- Specified by:
getScope in interface MessageContext
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.