Package com.sun.xml.ws.handler
Class MessageUpdatableContext
- java.lang.Object
-
- com.sun.xml.ws.handler.MessageUpdatableContext
-
- Direct Known Subclasses:
MessageHandlerContextImpl,SOAPMessageContextImpl
public abstract class MessageUpdatableContext extends Object implements jakarta.xml.ws.handler.MessageContext
The class represents a MessageContext(Properties) and also allows the Message to be modified. This is extended by SOAPMessageContextImpl and LogicalMessageContextImpl.- Author:
- WS Development Team
-
-
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 MessageUpdatableContext(Packet packet)Creates a new instance of MessageUpdatableContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object obj)booleancontainsValue(Object obj)Set<Map.Entry<String,Object>>entrySet()Objectget(Object obj)jakarta.xml.ws.handler.MessageContext.ScopegetScope(String name)booleanisEmpty()Set<String>keySet()Objectput(String str, Object obj)voidputAll(Map<? extends String,? extends Object> map)Objectremove(Object obj)voidsetScope(String name, jakarta.xml.ws.handler.MessageContext.Scope scope)intsize()voidupdatePacket()Updates the complete packet with user modfications to the message and properties cahnges in MessageContextCollection<Object>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
MessageUpdatableContext
public MessageUpdatableContext(Packet packet)
Creates a new instance of MessageUpdatableContext
-
-
Method Detail
-
updatePacket
public final void updatePacket()
Updates the complete packet with user modfications to the message and properties cahnges in MessageContext
-
setScope
public void setScope(String name, jakarta.xml.ws.handler.MessageContext.Scope scope)
- Specified by:
setScopein interfacejakarta.xml.ws.handler.MessageContext
-
getScope
public jakarta.xml.ws.handler.MessageContext.Scope getScope(String name)
- Specified by:
getScopein interfacejakarta.xml.ws.handler.MessageContext
-
containsKey
public boolean containsKey(Object obj)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object obj)
- Specified by:
containsValuein interfaceMap<String,Object>
-
-